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:
- HHH-8141 Updated to Gradle 1.5. Improved multiple compile and build tasks in HHH-8142, HHH-8143, and HHH-8151
- 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-8160 I forked Aries JPA and updated it for JPA 2.1. Feel free to use it as a test-bed for ORM 4.3.x: https://github.com/brmeyer/aries/tree/jpa21. The Aries team will hopefully move quickly to support JPA 2.1 once the spec is released.
- 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