In this section, you will get to know about newly added feature in Hibernate 4 and the existed feature in Hibernate.
Hibernate core 4.0.0 was finally released in the year 2011 in the month of Dec. New features that are introduced in Hibernate core 4.0 releases are as follows :
Major changes made in Hibernate core 4.0 release is the introduction of ServiceRegistery to provide how to access the registered services. And in this release some methods classes and interfaces have been deprecated. Here I am giving some list of them.
Methods that have been deprecated and removed from are as follows :
Following deprecated methods are references to org.hibernate.type.AbstractSingleColumnStandardBasicType :
Following deprecated methods are references to org.hibernate.usertype.UserType :
Classes/Interfaces that have been deprecated are as follows :
Transparent persistence without byte code processing
Object-oriented query language
Object / Relational mappings
Automatic primary key generation
Object/Relational mapping definition
HDLCA (Hibernate Dual-Layer Cache Architecture)
Recommend the tutorial