Red Hat

Hibernate ORM 4.1.1 Release

Posted by Steve Ebersole    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.1.1 has just been released. This release contains a slew of improvements and bug fixes. Some specific changes of interest include:

  • Big performance increase in the internal QueryPlanCache class which caused caching of HQL, JPQL and native-SQL compilation to be a bottleneck in concurrency (HHH-5927)
  • bunch of improvements to the new 4.1 natural id loading feature, such as the ability to load load by natural ids using persistent inheritance (HHH-7046) and
  • Speaking of natural id loading improvements, HHH-7129 specifically may cause issues with applications already using @NaturalId in an unintended. Previously Hibernate had let you define annotations anywhere within an a persistent hierarchy (even spread across the hierarchy). That was never an intended usage of @NaturalId and attempting to do so now throws an exception.
  • Allowing JPA static metamodel population to still happen even if model uses non-JPA features such as @Any mappings (HHH-6589)
  • Support for custom collection types using annotations via new @CollectionType annotation (HHH-4417)
  • On the documentation side, the documentation has all been migrated to DocBook v5 now which is great. A lot of the devguide has been finished out. I am still making the older manual available under 4.1 as well until all pertinent content has been migrated. That work required a lot of coordination between a group of a few of us at Red Hat that work on the DocBook and styling side of things. We work under the group name PressGang, and we could desperately use help. None of us are really design nor DocBook people so-to-say. If anyone is knowledgeable in that area and willing to help out, contact us via our PressGang Google+ group End of shameless plug :)

Speaking of Google+, I just created our Hibernate.org Google+ account too!

See the chagelog for more detailed breakdown of all the changes.

back to top