Поддержка YDB в Jimmer ORM#215
Open
Rinoyt wants to merge 112 commits into
Open
Conversation
Without tests
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
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.
…ctionality in the ConnectionManager
Fixed issues mentioned by the bot review and fixed versioning
Fixed retry logic and added chaos tests
CRUD, scan, join
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
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.
Добавлены диалект и вспомогательные классы для поддержки YDB в Jimmer ORM.