Skip to content

Поддержка YDB в Jimmer ORM#215

Open
Rinoyt wants to merge 112 commits into
ydb-platform:mainfrom
Rinoyt:main
Open

Поддержка YDB в Jimmer ORM#215
Rinoyt wants to merge 112 commits into
ydb-platform:mainfrom
Rinoyt:main

Conversation

@Rinoyt

@Rinoyt Rinoyt commented May 4, 2026

Copy link
Copy Markdown

Добавлены диалект и вспомогательные классы для поддержки YDB в Jimmer ORM.

Rinoyt and others added 30 commits November 20, 2025 15:15
1. Started using YdbHelperExtension
2. fixed errors in the SQL file and added a check for dropping tables from the SQL file
The test now successfully sends a "select" request to the DB. Next, there needs be a checker for the result and sql script generated
Java version 17 is the minimum Java version to support all Jimmer features.
auto-increment has been replaced by Uuid generated by Java
Changed mapping of Java classes to SQL types to be the same as in the YDB JDBC
Rinoyt and others added 22 commits May 11, 2026 01:58
Removed "--rm" to mirror the docker-compose.yml file
… the con.setSavepoint() problem

YDB JDBC driver doesn't support con.setSavepoint(). That's why isTransactionAbortedByError() in dialect was removed (it now returns false and doen't trigger setSavepoint())
Previously, only select calls were using the variable batchSize. Delete operators are now separated into groups to prevent memory pressure and to not exceed YDB's batch statement limits.
Fixed issues mentioned by the bot review and fixed versioning
Fixed retry logic and added chaos tests
@KirillKurdyukov KirillKurdyukov linked an issue May 27, 2026 that may be closed by this pull request
Rinoyt added 7 commits May 27, 2026 16:06
Now the RuntimeException won't be caught twice in the same function (speeding up the retries).
1. the function now checks the error code instead of the SQL State
2. changed which errors allow for retries
3. currently error that are not retryable with non-idempotent queries are not supported
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Jimmer ORM

2 participants