Red Hat

In Relation To Gail Badner

In Relation To Gail Badner

For more information, please see:

Most changes applied to both versions. Of note are:

  • HHH-9312 fixed a database connection leak with JTA transaction tracking caused by a transaction timeout detected by a background thread with the transaction rolled back immediately; the background thread was not closing the database connection when Synchronization.afterCompletion(int status) was called; instead, the database connection was not closed until the next application request that used the affected Hibernate session.
  • HHH-9387, HHH-9389, and HHH-9390 fixed some bugs in generated table and foreign key column names for collections when JPA annotations were used. Because these fixes could break existing applications (that rely on the incorrectly generated table and column names) they are not fixed by default. A new API (NamingStrategyDelegator) was added (HHH-9388) to enable these fixes because the NamingStrategy API was too inflexible to allow making changes without causing regressions when a custom NamingStrategy is used. NamingStrategy has been deprecated (HHH-7079 in favor of this new API. Documentation for the NamingStrategyDelegator API has not been added to the manual yet, and the API is not supported in the standalone schema tools yet. Both will be added in 4.3.8 and 4.2.17. For now, you can see details about enabling the fix in the Jira issues.
  • HHH-9305 fixed various bugs in SQL generated for HQL queries that contain an implicit join. The following are examples of HQL affected by this bug are:
       // e.department is implicitly joined in the "select" clause, and is explicitly joined in the "from" clause
       select e.department from Employee e inner join e.department

       // a.zoo is implicitly joined in the "select", "where", and "order by" clauses
       select distinct a.zoo from Animal a where a.zoo is not null order by a.zoo.name

There were several fixes made to 4.3.7 (only):

  • HHH-8839 fixed a bug that caused an IllegalStateException when rendering the SQL for loading an entity with an eager map having an entity key.
  • HHH-8895 fixed a bug that caused a SQLGrammarException when enabling a filter that is defined on a @MappedSuperclass hierarchy because the filter condition was getting applied to all tables in the hierarchy, instead of just one where the filter is defined.
  • HHH-3868 fixed a bug that caused NullPointerException when merging an entity Merging transient entity with an @Embeddable property containing a @org.hibernate.annotations.Parent mapping.

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
4.3.7.Final Downloads: 4.3.7.Final ZIP, 4.3.7.Final TGZ
4.2.16.Final Downloads: 4.2.16.Final ZIP, 4.2.16.Final TGZ

Hibernate ORM 4.3.6.Final and 4.2.15.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

For more information, please see:

Changes to 4.3.6.Final were mainly bugfixes with some performance improvements. A new Hibernate module was added to provide support for HikariCP connection pool (HHH-8869).

The following bugfixes applied only to 4.3.6.Final:

  • HHH-8818 fixed a regression introduced in 4.3.0.Final causing Hibernate to not be able to find the JNDI DataSource.
  • HHH-4700 fixed a bug using an HQL CASE expression containing a parameter in the THEN clause, and HHH-6747 fixed a bug rendering a SimpleCase using CriteriaBuilder.selectCase( arg ). Both caused ClassCastException to be thrown.
  • HHH-8885 fixed a bug causing a NullPointerException when MapJoin.key() is used.
  • HHH-8980 fixed a bug where an entity was not found if a joined subclass had a non-nullable many-to-one or one-to-one association.

The following bugfixes applied to both 4.3.6.Final and 4.2.15.Final:

  • HHH-9280 - caused the table name computed for an @ElementCollection to use the entity class name instead of the specified entity name.
  • HHH-8310 caused class loading problems due to a Spring bug that changed the context classloader to one that could not locate Hibernate Lob proxy classes (BlobProxy, ClobProxy, NClobProxy, SerializableBlobProxy, SerializableClobProxy).
  • HHH-9106 (for 4.3.6.Final) and HHH-9261 (for 4.2.15.Final) optionally allows multiple representations of the same entity to be merged (e.g., loaded from different sessions).

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
4.3.6.Final Downloads: 4.3.6.Final ZIP, 4.3.6.Final TGZ
4.2.15.Final Downloads: 4.2.15.Final ZIP, 4.2.15.Final TGZ

Hibernate ORM 4.2.14.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

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

Another 4.2.x version was necessary to make the following changes:

  • HHH-9255 reverts HHH-9222, which caused incorrect SQL to be generated when bulk deleting collections that use a property-ref;
  • HHH-9252 fixes a bug where an error executing a batch did not abort the rest of the batch.

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.14.Final ZIP, 4.2.14.Final TGZ

Hibernate ORM 4.2.13.Final Released

Posted by    |       |    Tagged as Hibernate ORM Releases

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

Another 4.2.x release was necessary to fix the following:

  • HHH-9154: fixes a regression introduced in 4.2.12 that broke HQL queries with a named parameter that is an HQL keyword;
  • HHH-9204: fixes a regression introduced in 4.2.12 that changed the method signature for an SPI, AbstractCollectionPersister.doProcessQueuedOps(PersistentCollection, Serializable, SessionImplementor);
  • HHH-9170: fixes a regression introduced in 4.2.8 that enables the second-level cache for a StatelessSession in some cases.

In addition, there were several improvements and minor fixes.

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.13.Final ZIP, 4.2.13.Final TGZ

Hibernate Core 4.0.0.CR5 Release

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate Core 4.0.0.CR5 has just been released.

We are releasing a new CR because of a classloading issue (HHH-6715) affecting applications that integrate with Hibernate. In addition, some bugs were fixed and some improvements were made that should improve performance.

For more details, see the JIRA release notes.

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate groupId at http://repository.jboss.org/nexus/content/groups/public-jboss/.

Please report any issues to Jira. Visit us on IRC or the forums if you have usage questions.

=> DOWNLOAD

Hibernate Core 3.6.8.Final Release

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate Core 3.6.8.Final is a maintenance release with some bugfixes and improvements:

JPA-related bugfixes:

  • HHH-6591 caused problems with JPA TypedQueries returning more than one scalar;
  • HHH-4982 caused a constraint violation when an optional one-to-one association was null and the association was annotated as a PrimaryKeyJoinColunn.

Some long-standing bugs were fixed:

  • HHH-2304 resulted in only the first character of char(x) columns to be returned by SQL (native) queries.
  • HHH-4596 and HHH-3434 caused HQL inserts to fail for entities with assigned IDs or composite IDs

New dialects for Sybase ASE 15.7 (HHH-6745) and CUBRID (HHH-6577) were added.

Envers-specific bugfixes and improvements can be found here.

For more details about Hibernate 3.6.8-Final, see the release notes.

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate groupId at http://repository.jboss.org/nexus/content/groups/public-jboss/.

Please report any issues to Jira. Visit us on IRC or the forums if you have usage questions.

=> DOWNLOAD

Hibernate Core 3.6.7-Final release

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate Core 3.6.7.Final is a maintenance release with just a couple of fixes.

  • HHH-1780 caused negation (NOT) in HQL WHERE clauses to be inverted incorrectly when a single NOT was applied to AND-ed or OR-ed constraints, as in WHERE NOT ( constraint1 OR constraint2 ); NOT was only being applied to the first constraint.
  • HHH-6370 fixed some issues and made some improvements to HSQLDialect.

For more details about Hibernate 3.6.7-Final, see the release notes.

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate groupId at http://repository.jboss.org/nexus/content/groups/public-jboss/ (not browsable). To browse this repository, go here.

DOWNLOAD the release bundles from SourceForge.

Please report any issues to Jira. Visit us on IRC or the forums if you have usage questions.

Hibernate Core 3.6.6.Final Release

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate 3.6.6.Final is mainly a maintenance release with a couple of improvements.

There were a couple of dependencies that were upgraded:

  • HHH-6322 upgraded to hibernate-jpa-2.0-api-1.0.1.Final
  • HHH-6455 upgraded to Ehcache 2.4.3.

There were several improvements to dialects:

  • HHH-2614 caused LOB columns specified without a length to be exported with length 255 when using a Derby database. With this fix, the length is no longer exported for LOB columns, enabling Derby to set the default length to 2M-1 bytes. If a length is specified it will be ignored, so if you want a LOB column with a non-default length, then you will have to write the DDL yourself.
  • HHH-6386 and HHH-6420 provided improvements to Sybase and SQL Server support, respectively

For more details about Hibernate 3.6.6-Final, see the release notes.

The artifacts have all been published to the JBoss Maven repository under the org.hibernate groupId. For more information about using the JBoss Maven repository, go here

The release bundles have been uploaded to SourceForge.

Hibernate Core 3.6.5.Final

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate Core 3.6.5.Final is mainly a maintenance release with a couple of improvements.

Of interest are:

  • HHH-2225 caused a NullPointerException when a native SQL query was used to eager fetch a joined component.
  • HHH-6219 caused a memory leak when using Infinispan cache.
  • HHH-5598 improves support for Sybase; more information about Hibernate/Sybase integration can be found here.
  • Several Envers bugfixes and improvements.

For more details about Hibernate 3.6.5-Final, see the release notes.

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate grouIUd.

The release bundles have been uploaded to SourceForge.

Hibernate Core 3.6.4.Final

Posted by    |       |    Tagged as Hibernate ORM Releases

Hibernate 3.6.4.Final is mainly a maintenance release with a couple of improvements.

Of interest are:

  • HHH-2049 resulted in a entity's collection having missing elements if the collectoin was outer-joined using a subcriteria with restrictions; the only elements in the collection would be those that satisfied the subcriteria restriction.
  • HHH-6170 provides a way to customize the default TransactionFactory and TransactionManagerLookup if none is specified.

For more details about Hibernate 3.6.4-Final, see the release notes.

The artifacts have all been published to the JBoss Maven repository.

The release bundles have been uploaded to SourceForge.

back to top