In this section, you will get to know about newly added feature in Hibernate
4 and the existed feature in Hibernate.
Newly added feature in Hibernate 4
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
Provide support for initial multi-tenancy.
Introduces a ServiceRegistry.
Clean up of Session opening from SessionFactory.
Using org.hibernate.integrator.spi.Integrator made integration and auto
discovery more desirable.
Improve to work with i18n and message codes.
Clean up of deprecated interfaces, methods, etc.
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