Help

Hibernate ORM developer and sustaining engineer (maintain Hibernate in Red Hat enterprise products)

Location: Fort Wayne, IN, USA
Occupation: Software Engineer @ Red Hat
Archive
08. Apr 2014, 22:44 CET, by Brett Meyer

Hibernate ORM 4.2.12.Final was just released! Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=16350.

As previously mentioned, 4.3.x is the new stable version and we have shifted focus towards ORM 5.

Another 4.2.x release was necessary due to a few important fixes:

  • HHH-9107: a regression in 4.2.11 broke reading entities from the 2LC under certain circumstances (involving polymorphism)
  • HHH-4700, HHH-6747, and HHH-9100: improved/corrected CASE and CAST statements in HQL
  • HHH-7971: enabling ENABLE_LAZY_LOAD_NO_TRANS would clear collections if they were accessed outside of a transaction
  • HHH-9071: Proxy narrowing loses the initialized state of the original proxy
  • HHH-9078: corrected the use of @OrderColumns on ToMany cascading

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.12.Final ZIP, 4.2.12.Final TGZ

02. Apr 2014, 17:28 CET, by Brett Meyer

Hibernate ORM 4.3.5.Final was just released! Please see the full changelog for all the details: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=16251. As usual, big thanks to the community for several contributions!

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.5.Final ZIP, 4.3.5.Final TGZ

What do you get from a 10+ year old open source framework, thousands of users within a wide range of roles, and complexity? A JIRA instance with over 3,000 unresolved tickets ;). Is that number indicative of low software quality? Definitely not. But therein lies the problem. A vast majority of the tickets are no longer issues, no longer relevant, or duplicates. Due to the quantity, it became nearly impossible to weed through them all.

So, recently, I've given some effort towards attempting to clean things up. This has been a combination of manual reviews of tickets, scripts identifying possible duplicates [1], and various forms of JIRA queries that attempt to show stale issues. So far, I've reduced the number of un-assigned, un-resolved tickets by almost 1k. To date, only a few of those have turned up being issues that were still legitimate in ORM 4+.

In addition, I've enacted a few policies that have helped (and will continue to help) tremendously, both for contributors and the community as a whole. Most notably, any new BUG ticket that does not have a provided test case is immediately moved into an Awaiting Test Case state. If nothing is received within around 3 months, we've begun to automatically reject them. Although most contributors generally appreciate reproducers that are either standalone or extend one of ORM's pre-existing unit tests (preferably), at least providing enough detail (entities, mappings, code snippets, etc.) is the bare minimum.

Along the same lines, we've been discussing a possible tactic on the mailing list [2]. We'd like to push all ORM 3 tickets to the Awaiting Test Case state and request a reproducer on ORM 4 or 5. This would affect only BUGs with: 1.) affectsVersions set to ORM 3 only (not ORM 4/5) 2.) unassigned and 3.) not updated in the last 90 days. Those would then fall under our policy of automatically rejecting if the ticket does not receive a test case within 3 months or so. Please see the mailing list for the discussion, as well as the query that would be used. If there are any opinions against giving that a shot, please say so.

It's also worth re-iterating that JIRA should not be used instead of the user forums [3] or Q&A sites like StackOverflow. Please create tickets only for concise issues w/ reproducing test cases (or, of course, new features and possible improvements).

If you're interested in more info about the steps I took during the actual cleanup, a somewhat detailed write-up is here: http://www.3riverdev.com/blog/man-vs-jira-the-3000-issue-tracker-fight

If you have any questions or ideas, please contact me! brmeyer on Freenode IRC is your best bet, as well as comments on this post. Thanks!

[1] https://github.com/3RiverDevelopment/bug-tracker-duplicate-utils
[2] http://lists.jboss.org/pipermail/hibernate-dev/2014-March/011238.html
[3] https://forum.hibernate.org/viewforum.php?f=1

17. Mar 2014, 22:45 CET, by Brett Meyer

Hibernate ORM 4.2.11.Final was just released! Please see the full changelog for more information: https://hibernate.atlassian.net/secure/ReleaseNote.jspa?projectId=10031&version=16153.

As previously mentioned, 4.3.x is the new stable version and we have shifted focus towards ORM 5.

One commit of note is HHH-8440, which added a new SQLServer2012Dialect that fully supports sequences. The rest were minor bug fixes and docs improvements, mostly from community pull requests (thanks!).

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.11.Final ZIP, 4.2.11.Final TGZ

Shortly after releasing ORM 4.3.2.Final and 4.2.9.Final a critical regression was found, caused by HHH-8961 and reverted/corrected by HHH-9010. Instead of creating service-pack builds, we decided to simply release the next versions.

What happened to 4.3.3? Technically and unfortunately, 4.3.2 == 4.3.3 in Nexus and Central (directly my fault -- long story).

TL;DR: Avoid 4.2.9.Final, 4.3.2.Final, and 4.3.3.Final. Instead, upgrade to 4.2.10.Final or 4.3.4.Final. Apologies for the confusion this has already caused!

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.4.Final ZIP, 4.3.4.Final TGZ, 4.2.10.Final ZIP, 4.2.10.Final TGZ

Showing 1 to 5 of 26 blog entries

Post Comment