Red Hat

In Relation To Brett Meyer

In Relation To Brett Meyer

Hibernate ORM 4.2.0.CR2 Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.0.CR2 was just released. The full changelog can be viewed here: https://hibernate.onjira.com/secure/ReleaseNote.jspa?projectId=10031&version=12651

This is the first release with initial support for OSGi. Please see HHH-7527 and its subtasks for more information. Example client bundles can be found here: HibernateOSGi

In addition to numerous bug fixes and improvements, this CR was necessary due to a critical regression: HHH-8025

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: ZIP or TGZ

Hibernate ORM 4.1.10.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.1.10.Final was just released. The full changelog can be viewed here: https://hibernate.onjira.com/secure/ReleaseNote.jspa?projectId=10031&version=12650

Again, many thanks are due to our fantastic community -- having trouble keeping up with pull requests is a great problem to have...

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: ZIP or TGZ

Initial Attempt at Enterprise OSGi JPA Support -- COMPLETE

Posted by    |       |    Tagged as

I was finally able to get a simple example working on Apache Karaf using container-managed Enterprise OSGi JPA.

Pull request:
https://github.com/hibernate/hibernate-orm/pull/465/files

I would really appreciate it if some of you could grab the following fork and try it out in your own environments – feedback is definitely needed:
https://github.com/brmeyer/hibernate-orm/tree/4.2-osgi

A simple test client bundle is available as a reference. Something like this will eventually wind up in the doc examples. Instructions are in the README (rough draft).
https://github.com/brmeyer/HibernateOSGi

There's a few caveats to ORM at this point:

  • I have not yet tested a bundle creating and maintaining it's own EntityManagerFactory or SessionFactory. Only container-managed has been used so far.
  • Only basic support for persistence units is available. We have not handled the use of OSGi services to register Integrators, etc.
  • IMPORTANT: We can currently handle only annotated classes explicitly listed in your persistence unit. There's a few roadblocks preventing us from scanning for mapping files, classes, etc.
  • The provided feature.xml files are fairly order-specific. Comments within them (and the proposal wiki) outline the issue.

The proposal wiki is updated with more info and questions:
https://github.com/hibernate/hibernate-orm/wiki/Proposal:-OSGi

We're not comfortable releasing this until the community is able to help confirm the fork. Any help is sincerely appreciated!

Hibernate ORM 4.2.0.CR1 Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.2.0.CR1 was just released. The full changelog can be viewed here: https://hibernate.onjira.com/secure/ReleaseNote.jspa?projectId=10031&version=12651

This release included a few notable bug fixes and improvements:

  • HHH-465: nulls first and nulls last syntax in HQL ordering
  • HHH-1917: automatically delete orphaned JoinTable rows on a bulk delete affecting a Many-To-Many association
  • HHH-2448: deterministic column aliases, regardless of mapping ordering -- mainly affects clustering environments
  • HHH-7797: the logic handling unique columns and constraints was entirely re-written and improved

In addition, a handful of performance improvements went in. So far, we have seen dramatic improvements in JBoss benchmarking.

  • HHH-7746: additional batch loading algorithms (use "hibernate.batch_fetch_style" in your settings -- see the new Enum for choices)
  • HHH-7872: improves L2 caching of reference data (enable with "hibernate.cache.use_reference_entries")
  • HHH-7902: Originally, JDBC types (Connection, Statement, ResultSet, etc.) were wrapped with Java Proxies to introduce resource management, logging, etc. The proxying was shown to be a performance hotspot, so they were entirely removed. The functionality was replaced with a new set of internal contracts/helpers.

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: ZIP or TGZ

Feedback Needed for Hibernate ORM OSGi

Posted by    |       |    Tagged as Hibernate ORM

HHH-7527 will address Hibernate ORM in OSGi environments.

This task obviously has many design considerations and sub-tasks. Today, we created a Proposal Wiki to start brainstorming many of the topics. We'd sincerely appreciate the communities involvement and feedback, especially with respect to identifying the many types of OSGi environment use cases.

The best way to help is to join the discussion on HHH-7527. Thanks!

Hibernate ORM 4.1.9.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.1.9.Final was released morning. We sincerely appreciate the large amount of community involvement on this release -- a large portion of the fixes were from contributor's pull requests. The full changelog can be viewed here: https://hibernate.onjira.com/secure/ReleaseNote.jspa?projectId=10031&version=12367

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: ZIP or TGZ

Hibernate ORM 4.1.8.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate ORM 4.1.8.Final was released early this morning. This maintenance release contains just shy of 50 resolved issues, including several that were years old. As usual, we sincerely appreciate the large amount of community involvement on this release. The full changelog can be viewed here: https://hibernate.onjira.com/secure/ReleaseNote.jspa?projectId=10031&version=12350

JBoss Nexus: https://repository.jboss.org/nexus/content/groups/public/org/hibernate

Maven Central: http://mvnrepository.com/artifact/org.hibernate (should update in a couple of days)

SourceForge: https://sourceforge.net/projects/hibernate/files/hibernate4

Downloads: ZIP or TGZ

back to top