Unify Hibernate 6 and 7 dialect into single module#228
Merged
Conversation
KirillKurdyukov
force-pushed
the
refactor/unify-hibernate-dialect
branch
from
June 30, 2026 12:46
587f282 to
7325f78
Compare
…, remove v7 module Preserve v6 file history via git mv. Drop separate hibernate-dialect-v7 module. Update CI workflows and Keycloak to use unified artifact from local build. Co-authored-by: Cursor <cursoragent@cursor.com>
H7-specific dialect classes are new files derived from the unified module, not renames from the removed hibernate-dialect-v7 module. Co-authored-by: Cursor <cursoragent@cursor.com>
KirillKurdyukov
force-pushed
the
refactor/unify-hibernate-dialect
branch
from
June 30, 2026 13:06
64d3e78 to
b9a8618
Compare
…hangelog Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…_time Register current_time in the default dialect only; Hibernate 7 overlay keeps its own registry. Co-authored-by: Cursor <cursoragent@cursor.com>
…ction current_time maps to CurrentUtcDatetime(), not YDB Time type. Co-authored-by: Cursor <cursoragent@cursor.com>
YDB has no Time type; use current timestamp or current date instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
KirillKurdyukov
force-pushed
the
refactor/unify-hibernate-dialect
branch
from
July 1, 2026 08:20
5157530 to
50af89d
Compare
Drop hibernate6-latest and the broken surefire classpath swap for H7; rebuild with -Phibernate7 instead. Co-authored-by: Cursor <cursoragent@cursor.com>
YDB has no row-level locks; return an empty string from getForUpdateString for Hibernate 6 and 7. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hibernate-dialect-v6andhibernate-dialect-v7into onehibernate-dialectmodule (artifacthibernate-ydb-dialectv1.7.0)src/main/java(AbstractYdbDialect, hints, types); Hibernate-specific shells insrc/hibernate6/javaandsrc/hibernate7/java-Phibernate6) and 7.1.4 (-Phibernate7), same pattern as Spring Data JDBCTest plan
mvn compile(Hibernate 6.2.7 default)mvn -Phibernate6 compilemvn -Phibernate7 compileci-hibernate-dialect.yamlon JDK 17/21use_indexhint PR onto this moduleMade with Cursor