Red Hat

Hibernate Core 4.0.0.Alpha1 Released

Posted by Steve Ebersole    |       |    Tagged as Hibernate ORM Releases

The Hibernate team is pleased to announce the release of Hibernate Core 4.0.0.Alpha1. Pieces of changes in this release have been in the work for a long time, so even though it is an alpha the changes should all be really really well vetted and tested.

  • The major focus for this first alpha release was to put the concept of ServiceRegistry into place as well as to start migrating various stuff to be services within the registry.
  • Completely reworked the JDBC and transaction interaction internally, leveraging JdbcCoordinator and TransactionCoordinator internally.
  • Move to use proxies for JDBC objects internally. This is one of the things vetted and tested for a long, long time. Obviously performance is a hug concern here and my findings were that the proxies added very little speed overhead. Why do it? Essentially this allows us to apply consistent behavior in terms of logging, resource tracking and cleanup across the across the various objects and various usage scenarios. It also allows centralization of lots of previously duplicated code.
  • Migration to notion of a JtaPlatform providing more complete and consistent set of services over legacy TransactionManagerLookup
  • Developed initial support for managing internals of running Hibernate SessionFactory (its services) via JMX. See JmxService for details.
  • Removed non-maintained second level cache integrations, hibernate-oscache and hibernate-swarmcache.
  • Began removal of deprecated methods scheduled for removal in 4.0

See the Migration Guide for details of ongoing disruptive changes.

Additionally, the 3.6.2 maintenance release was also done. See http://opensource.atlassian.com/projects/hibernate/browse/HHH/fixforversion/11206 for list of changes

back to top