What is registerHibernateType and how to 开发者_开发技巧use it?
https://www.hibernate.org/hib_docs/v3/api/org/hibernate/dialect/Dialect.html#registerHibernateType%28int,%20int,%20java.lang.String%29
Registers a Hibernate Type name for the given Types type code and maximum column length.
Parameters:
code - The Types typecode
capacity - The maximum length of database type
name - The Hibernate Type name
精彩评论