Red Hat

In Relation To Gail Badner

In Relation To Gail Badner

Hibernate ORM 4.3.10.Final Released

Posted by Gail Badner    |       |    Tagged as Hibernate ORM Releases

The primary reason for this release is to add support for running Hibernate ORM with Infinispan 7.2.1.Final as a runtime dependency. Hibernate still uses Infinispan 6.0.0.Final by default.

The plan is for WildFly 9 to include Hibernate ORM 4.3.10.Final. Since WildFly 9 uses Infinispan 7.2.1.Final, we had to make some corrections so that Hibernate ORM works properly with Infinispan 7.2.1.Final (as well as 6.0.0.Final) as a cache provider. To avoid backward-compatibility issues, Hibernate still uses an Infinispan 6.0.0.Final configuration by default.

In order to use Hibernate ORM with Infinispan 7.2.1.Final, it is necessary to specify an Infinispan 7.2 configuration using the environment variable, hibernate.cache.infinispan.cfg. An example of an Infinispan 7.2 configuration has been added as a test resource here.

For more information about changes to support Infinispan 7.2.1.Final, see: HHH-9776 and HHH-9781.

Other changes were minor. For more information, please see: https://hibernate.atlassian.net/jira/secure/ReleaseNote.jspa?projectId=10031&version=19650

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.10.Final Downloads: 4.3.10.Final ZIP, 4.3.10.Final TGZ

4.3.9.Final and 4.2.19.Final were released 15/Apr/2015.

4.2.18.Final was actually released 28/Jan/2015. At the time of that release there were problems with in.relation.to. Unfortunately, after those issues were resolved, the announcement for 4.2.18.Final fell through the cracks, so I am covering that release here as well.

4.2.18.Final and 4.2.19.Final fixes several regressions. Those fixes were also included in 4.3.9.Final.

4.3.9.Final includes mainly bugfixes with some improvements:

  • improved support for AttributeConverters (backported from 5.0.0.Beta1);
  • EntityGraph bugfixes;
  • fixes for load plan bugs that caused problems with CompositeCustomType IDs, embeddable @MapKey, maps containing embeddable keys;
  • fix for a classloading bug that affects Hibernate under GlassFish 4.0 HHH-9446 that was introduced by in 4.3.6 by HHH-8818; by setting an environment variable, Hibernate reverts to pre-HHH-8818 behavior;
  • fix for Envers to work with dynamic (non-POJO) entities.

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.9.Final Downloads: 4.3.9.Final ZIP, 4.3.9.Final TGZ
4.2.18.Final Downloads: 4.2.18.Final ZIP, 4.2.18.Final TGZ
4.2.19.Final Downloads: 4.2.19.Final ZIP, 4.2.19.Final TGZ

These releases contain mostly minor bugfixes and improvements. For more information, please see:

Most changes applied to both versions. Of note are:

  • A new MySQL dialect (MySQL57InnoDBDialect) that adds support for fractional seconds HHH-8401;
  • NamingStrategyDelegator is now supported by standalone schema tools HHH-9467.

Other fixes made to 4.3.8 (only) were minor bug fixes and improvements.

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.8.Final Downloads: 4.3.8.Final ZIP, 4.3.8.Final TGZ
4.2.17.Final Downloads: 4.2.17.Final ZIP, 4.2.17.Final TGZ

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 Gail Badner    |       |    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 Gail Badner    |       |    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 Gail Badner    |       |    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 Gail Badner    |       |    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 Gail Badner    |       |    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 Gail Badner    |       |    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.

back to top