Thursday, October 14, 2010

Telstra M450 User Guide

Hibernate 3.6 with higher performance and without Java 1.4 Envers

Yesterday there was the second major release this year Hibernate: Hibernate 3.6 . As short for Hibernate 3.5, which mainly took the JPA 2.0 compatibility, the new version not very many new features, but has experienced particularly urgently needed internal changes and re-implementations:
  • Java 1.4, is no longer supported, provided So now Java 5.0 and later.
  • The internal type system has been revised. In particular implementations custom mapping types probably have to be adjusted. Who
  • XML mappings used, the DTDs of http://hibernate.sourceforge.net/ on http://www.hibernate.org/dtd switch.
  • And finally contains the supplied Envers a new audit strategy ValidityAuditStrategy . So now, not only the initial time a revision is stored, but also the end time. While the store by a little more time and requires an additional column in the database table, the reading of historical data is significantly better performance.

0 comments:

Post a Comment