Skip to content

Make hibernate6 profile Java 11 compatible#230

Merged
KirillKurdyukov merged 3 commits into
mainfrom
chore/hibernate-v6-java11
Jul 14, 2026
Merged

Make hibernate6 profile Java 11 compatible#230
KirillKurdyukov merged 3 commits into
mainfrom
chore/hibernate-v6-java11

Conversation

@KirillKurdyukov

Copy link
Copy Markdown
Collaborator

Summary

  • move compiler settings in hibernate-dialect to profile-level properties so hibernate6 compiles with Java 11 while hibernate7 stays on Java 17
  • replace Java 14+/16+ language features in dialect sources and tests with Java 11-compatible syntax
  • update hibernate-dialect CI matrix to include Java 11 and skip hibernate7 profile checks on Java 11

Test plan

  • cd hibernate-dialect && mvn -DskipTests package
  • cd hibernate-dialect && mvn -DskipTests package -Phibernate7

Made with Cursor

KirillKurdyukov and others added 3 commits July 14, 2026 15:35
Build hibernate6 with Java 11 while keeping hibernate7 on Java 17 by moving compiler settings to profile-level properties and updating CI matrix coverage. Also replace Java 14+/16+ syntax in dialect code and tests with Java 11-compatible constructs so both profiles compile successfully.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add a changelog entry to 1.7.0 clarifying that the hibernate6 profile now supports Java 11.

Co-authored-by: Cursor <cursoragent@cursor.com>
The examples spring-data-jpa checks fail on Java 11 and are not required for hibernate6 compatibility verification. Run examples integration only on Java 17+ matrix entries.

Co-authored-by: Cursor <cursoragent@cursor.com>
@KirillKurdyukov
KirillKurdyukov merged commit f78b038 into main Jul 14, 2026
4 checks passed
@KirillKurdyukov
KirillKurdyukov deleted the chore/hibernate-v6-java11 branch July 14, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants