Red Hat

In Relation To Brett Meyer

In Relation To Brett Meyer

Hibernate ORM 4.2.7.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.7.Final was just released with 25 fixes/improvements! Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=14550.

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.2.7.Final ZIP, 4.2.7.Final TGZ

Hibernate ORM 4.2.6.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.6.Final was just released with 20 fixes. Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=14150.

There were a couple of notable changes:

  • HHH-8363 corrected numerous memory leaks involving stopping/destroying ORM and references to ClassLoaders not being GC'd
  • HHH-8476 automatically deletes rows in the foreign key join table when an element is removed from a many-to-many association

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.2.6.Final ZIP, 4.2.6.Final TGZ

Hibernate ORM 4.2.5.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.5.Final was just released, containing about a dozen bug fixes. The vast majority of them were community contributions through pull requests -- thank you! Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=13953

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.2.5.Final ZIP, 4.2.5.Final TGZ

Hibernate ORM 4.2.4.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.4.Final was just released, containing multiple bug fixes. Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=13750

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.2.4.Final ZIP, 4.2.4.Final TGZ

Hibernate ORM 4.2.3.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.3.Final was just released. The full changelog can be viewed here

HHH-8112 fully documented the OSGi capabilities and included multiple quickstart projects. Please see the Dev Guide and Quickstart.

This release also completed the umbrella OSGi task: HHH-7527! Finally -- whew!

Multiple minor bug fixes were included -- please see the changelog for more info.

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.2.3.Final ZIP, 4.2.3.Final TGZ

Hibernate ORM 4.2.2.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.2.Final was just released. The full changelog can be viewed here

In addition to numerous bug fixes, notable changes include:

  • HHH-8217 reworked HHH-1904 and made generated constraint names short and non-random
  • HHH-7944 added OSGi support to Envers
  • HHH-7995 supports the use of OSGi services to register Hibernate extension points

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.2.2.Final ZIP, 4.2.2.Final TGZ

Hibernate ORM 4.3.0.Beta2 Released

Posted by    |       |    Tagged as Hibernate ORM JPA Releases

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

Hibernate ORM 4.2.1.Final and 4.1.12.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.1.Final and 4.1.12.Final were just released. The full changelogs can be viewed here: 4.2.1.Final and 4.1.12.Final

Originally, 4.1.11 was slated to be the final release of 4.1.x. However, in HHH-8149, we reverted HHH-7797 for 4.1 (changed unique columns, keys, and constraints). The change had snowballed into numerous issues and, in hindsight, shouldn't have been made in 4.1.x to begin with. To clean things up, it was decided to release 4.1.12.

4.2.1 includes several notable changes:

  • 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.
  • As mentioned above, HHH-7797 (release 4.2.0) 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). The issues mentioned were corrected in this release: HHH-8092, 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-1904 In order to ensure that Hibernate does not generate foreign key and unique key names that are too long for certain dialects (ie, Oracle), the generation now uses random characters < 30 characters in length. Of course, this does not affect keys explicitly named in your mappings.
  • HHH-7617 Support for generating Eclipse IDE projects was improved. Please see this post for more info.
  • Our ClassLoader concepts for OSGi support were greatly improved by HHH-8096. In addition, HHH-7993 supports basic Bundle scanning to automatically discover entities and mappings in your persistence unit bundle.
  • HHH-7714 added support for EntityMode.MAP in the JPA Criteria API.
  • 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.

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.2.1.Final ZIP, 4.2.1.Final TGZ, 4.1.12.Final ZIP, 4.1.12.Final TGZ

Improved Eclipse Project Support for Hibernate ORM Development

Posted by    |       |    Tagged as Hibernate ORM

Previously, setting up a Hibernate ORM development environment in Eclipse was a pain. Many of you have complained about circular dependencies, generated sources not added to the classpath, etc. We recently cleaned up the 'gradle eclipse' task in HHH-7617 (1). If you're interested in getting started with Hibernate contributions, here's the easiest way to do it. Note that this requires 4.2.1-SNAPSHOT, 4.3.0-SNAPSHOT, or later:

  1. I wouldn't recommend installing the Gradle Integration for Eclipse plugin. Personally, I've found it to be really buggy and not worth the effort.
  2. In your hibernate-orm Git checkout, run the following on the command line: ./gradlew clean eclipse --refresh-dependencies. The eclipse task will create the Eclipse project, including generating sources. The --refresh-dependencies tells Gradle to re-generate the dependency cache -- it isn't always necessary, but I include it for reference.
  3. In Eclipse, go to Window -> Preferences -> Java -> Compiler -> Building. Set Circular dependencies to Warning, rather than Error.

If there's anything else we can do to better streamline your IDE setup, please let me know!

1: https://hibernate.atlassian.net/browse/HHH-7617

Hibernate ORM 4.2.0.Final and 4.1.11.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.0.Final and 4.1.11.Final were just released. The full changelogs can be viewed here: 4.2.0.Final and 4.1.11.Final

Note that this is the final release for 4.1.x. All development efforts and commits will now move to 4.2.x and 4.3.0 alpha.

As usual, thank you to the community for all the support and hard work!

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.2.0.Final ZIP, 4.2.0.Final TGZ, 4.1.11.Final ZIP, 4.1.11.Final TGZ

back to top