Skip to content

Bump Hibernate 7 versions - #16211

Merged
jdaugherty merged 2 commits into
8.0.xfrom
fix/bump-hibernate7-versions
Aug 31, 2026
Merged

jdaugherty merged 2 commits into
8.0.xfrom
fix/bump-hibernate7-versions

Conversation

@matrei

@matrei matrei commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Hibernate ORM 7.4.7.Final was released August 30. The [7.4.6–7.4.7 comparison](hibernate/hibernate-orm@7.4.6...7.4.7) includes:

  • Correct handling of initialized lazy fields during second-level-cache disassembly.
  • Retaining a superclass-table join when a to-one foreign key targets an ancestor table in a JOINED inheritance hierarchy, avoiding invalid SQL.
  • Additional StatelessSession delegation SPI work.
  • Jakarta Data/CDI annotation-processor fixes, which are less directly relevant to GORM.

The broader [7.4.1–7.4.7 comparison](hibernate/hibernate-orm@7.4.1...7.4.7) also includes:

  • Fixes for lazy proxies, bytecode-enhanced entities, dynamic updates, multi-level cascade deletion and second-level-cache state handling.
  • Mapping and inheritance fixes involving mapped-superclass identifiers, @Access, @OneToOne(mappedBy), collection index columns and native-query alias expansion.
  • Query fixes covering copied CTEs in count queries, collection-pagination formulas, filtered associations, enum literals and locate() with a starting position.
  • Envers fixes for proxied entities and inherited auditing metadata.
  • Improved generic type resolution for converters, generators, aggregate elements and JSON-mapped generic collections.
  • JSON handling fixes for UUID, binary and temporal values across several database dialects.
  • Jakarta Data fixes, including generated identifiers in saveAll(), plus annotation-processor improvements.

Hibernate Tools 7.3.13.Final was released August 4. The [7.3.8–7.3.13 comparison](hibernate/hibernate-tools@7.3.8.Final...7.3.13.Final) contains no implementation changes; the intervening releases update the Hibernate ORM dependency and release documentation.

Hibernate Models 1.1.2 was released July 21. The [1.1.1–1.1.2 comparison](hibernate/hibernate-models@1.1.1...1.1.2) includes:

  • Fixing generic-array resolution that could leave type details only partially resolved.
  • Resolving collection and map type arguments through generic type hierarchies.

@codecov

codecov Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.7109%. Comparing base (e40cb27) to head (6408c36).
⚠️ Report is 112 commits behind head on 8.0.x.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##                8.0.x     #16211        +/-   ##
==================================================
+ Coverage     54.1238%   54.7109%   +0.5871%     
- Complexity      20307      20423       +116     
==================================================
  Files            2107       2101         -6     
  Lines          101144     100978       -166     
  Branches        17921      17907        -14     
==================================================
+ Hits            54743      55246       +503     
+ Misses          38595      37865       -730     
- Partials         7806       7867        +61     

see 71 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@matrei
matrei marked this pull request as ready for review August 24, 2026 17:03
@codeconsole
codeconsole self-requested a review August 24, 2026 17:40
@matrei
matrei requested a review from jdaugherty August 26, 2026 06:17
@testlens-app

testlens-app Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

🚨 TestLens detected 1 failed test 🚨

Here is what you can do:

  1. Inspect the test failures carefully.
  2. If you are convinced that some of the tests are flaky, you can mute them below.
  3. Finally, trigger a rerun by checking the rerun checkbox.

Test Summary

Groovy Snapshot Canary Build / Build Grails (shard 2) > :grails-data-hibernate7-core:test

Test Runs Flakiness
Hibernate7Suite ✅ ❌ 1% 🟡

Groovy Snapshot Canary Build / Build Grails (shard 2) > :grails-test-examples-scaffolding:integrationTest

Test Runs Flakiness
UserControllerSpec > User list ❌ ✅ 3% 🟡

🏷️ Commit: 6408c36
▶️ Tests: 58722 executed
⚪️ Checks: 89/89 completed

Test Failures

Hibernate7Suite (:grails-data-hibernate7-core:test in Groovy Snapshot Canary Build / Build Grails (shard 2))
org.junit.platform.suite.engine.NoTestsDiscoveredException: Suite [grails.gorm.tests.Hibernate7Suite] did not discover any tests
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)

Rerun Controls

Select tests to mute in this pull request:

  • Hibernate7Suite
  • UserControllerSpec > User list

Reuse successful test results:

  • ♻️ Only rerun the tests that failed or were muted before

Click the checkbox to trigger a rerun:

  • Rerun jobs

Learn more about TestLens at testlens.app/docs.

@matrei matrei changed the title Bump hibernate7 versions Bump Hibernate 7 versions Aug 31, 2026
@jdaugherty
jdaugherty merged commit f3a91d3 into 8.0.x Aug 31, 2026
94 of 96 checks passed
@jdaugherty
jdaugherty deleted the fix/bump-hibernate7-versions branch August 31, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants