Help

Hibernate ORM 4.3.0.Beta2 was just released. The full changelog can be viewed here

This release includes several notable changes. Some of this will borrow from the 4.2.1 announcement:

  • ORM is now enforcing checkstyle within all modules. This was applied in HHH-8156. Violations were corrected in HHH-8159 and will continue to be corrected under HHH-8211 for 4.3.0.Beta3.
  • HHH-8175 Official support for Postgresql 9.2, Postgres Plus 9.2, and IBM DB2 10.1. Luckily, these mostly worked out-of-the-box with our existing dialects. Only a few test changes were necessary.
  • HHH-7797 (release 4.2.0 and 4.3.0.Beta1) changed the way uniqueness is handled. Rather than mixing "unique" on column definitions, "unique(columns...)" on table definitions, unique indexes, and unique constraints, all were changed to solely use unique constraints (DB2 is the exception -- indexes are use in certain circumstances). Follow-up issues were corrected in this release: HHH-8162 and HHH-8178.
  • More details about HHH-8162: Since unique constraints are now the default, special handling was necessary within SchemaUpdate. The method used is configurable, selected with the "hibernate.schema_update.unique_constraint_strategy" property. DROP_RECREATE_QUIETLY is the default. It attempts to drop, then (re-)create each unique constraint within your model. All errors and exceptions (constraint doesn't exist, constraint already existed, etc.) are ignored. RECREATE_QUIETLY is the same, but does not attempt the drop. SKIP will not attempt to drop or create unique constraints at all on the SchemaUpdate.
  • HHH-7617 Support for generating Eclipse IDE projects was improved. Please see this post for more info.
  • HHH-7944 Envers is now supported in OSGi.
  • HHH-7943 improved the c3p0, proxool, ehcache, and infinispan strategies. All are now selectable in configurations by both classname and a short name. Further, their strategies were integrated as OSGi services. Note that HHH-7943 has multiple follow-on tickets due to classloader issues found with many of the 3rd party bundles.
  • HHH-7993 supports basic OSGi Bundle scanning to automatically discover entities and mappings in your persistence unit bundle.
  • HHH-8183 supports synonyms in schema validation. Enable the capability with the "hibernate.synonyms=true" property (disabled by default).
  • HHH-8203 ensures support of Proxool 0.9.1.
  • Deprecations: Hibernate's @ForeignKey in HHH-8170 (use JPA's @ForeignKey), @IndexColumn and @ListIndexBase in HHH-8163, and @Sort in HHH-8164 (use @SortNatural or @SortComparator)

JBoss Nexus: https://repository.jboss.org/nexus/content/groups/public/org/hibernate
Maven Central: http://repo1.maven.org/maven2/org/hibernate/hibernate-core (should update in a couple of days)
SourceForge: https://sourceforge.net/projects/hibernate/files/hibernate4
Downloads: 4.3.0.Beta2 ZIP, 4.3.0.Beta2 TGZ

1 comment:
 
11. May 2013, 09:52 CET | Link

A MEAP update of Java Persistence with Hibernate is available as well, documenting some features of this latest Hibernate 4.3 beta release. The new JPA 2.1 schema generation features are covered in the Complex and legacy schemas chapter. Examples can be downloaded here.

ReplyQuote
Post Comment