Converters in hibernate
If you want to map a java.lang.Integer type property of a class with VARCHAR SQL type That time you have to write a custom mapping types using hibenrate. These are called converters.
Now, hibernate have provided some basic interface for converters which are as follows:
(1) org.hibernate.usertype.UserType
(2) org.hibernate.usertype.CompositeUserType
(3) org.hibernate.usertype.UserCollectionType
(4) org.hibernate.usertype.EnhancedUserType
(5) org.hibernate.usertype.UserVersionType
(6) org.hibernate.usertype.ParameterizedType
Interesting Article
ReplyDeleteSpring Hibernate Online Training | Hibernate Training in Chennai | Java Spring Hibernate Training Institutes in Chennai
Hibernate Online Training | Java Online Training | Java EE Online Training
Happy to found this blog. Good Post!. It was so good to read and useful to improve my knowledge as updated one, keep blogging. Hibernate Training in Electronic City
ReplyDeleteJava Training in Electronic City