-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for sequence type for h2 #1789
Conversation
Looks like there are failing tests |
Rebased. Github doesn't see signed CLA for some reason |
Weird exception. Looks like API changed https://github.com/micronaut-projects/micronaut-data/pull/1789/checks#step:8:13024 @dstepanov if you have idea what it is it'll be helpful. I'll take a look later |
def queryModel = QueryModel.from(entity).eq("name", QueryParameter.of("name")) | ||
|
||
expect: | ||
builder.dialect == Dialect.H2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think buildQuery
method has been changed in 4.0 here #2323 (comment) and need AnnotationMetadata
so just need to add this AnnotationMetadata.EMPTY_METADATA
as first parameter, for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@radovanradic I fixed failing test
5997e13
to
f96ab3b
Compare
Please target 4.9 |
4.8.x is fine. 4.8.x is the next major branch. |
Thanks for the contribution! |
This PR had test failures: #1789
This PR had test failures: #1789
* Fix H2 tests after latest merge for H2 generate schema changes This PR had test failures: #1789
* Update common files * Fix H2 tests after latest merge for H2 generate schema changes (#2964) * Fix H2 tests after latest merge for H2 generate schema changes This PR had test failures: #1789 * Update common files --------- Co-authored-by: Radovan Radic <[email protected]>
* Test for many to many join issue * Fix H2 tests after latest merge for H2 generate schema changes This PR had test failures: #1789 * Fixed one more test for H2 * Fix H2 tests after latest merge for H2 generate schema changes (#2964) * Fix H2 tests after latest merge for H2 generate schema changes This PR had test failures: #1789 * Test for many to many join issue * Fix join issue * Checkstyle --------- Co-authored-by: Denis Stepanov <[email protected]>
This is rough attempt to support sequence types for H2 http://www.h2database.com/html/grammar.html#column_definition