-
Notifications
You must be signed in to change notification settings - Fork 356
Use OFFSET/FETCH syntax in H2 dialect #1297
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
Conversation
As per suggestion of the H2 maintainer.
Reuse H2 dialect settings in R2DBC-specific H2 dialect.
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.
This raises two questions for me:
Why does the R2DBC H2 dialect extend from the Postgres dialect.
That seems rather counter intuitive and bound to cause problems every time we touch the H2 or the Postgres dialect, including extensions of the Dialect
interfaces themselves.
I think if at all we should have maybe some ...DialectSupport
class or something that both dialects delegate to.
Since the OP points out that what H2 is supporting the ANSI standard, shouldn't we reuse that, maybe even let H2 dialect extend from that?
I had the exact same feeling. I think the array handling is the only component that is different between JDBC and R2DBC so we should require only a R2DBC-specific subclass of the H2 dialect. |
Refactor ArrayColumns support classes, into toplevel-types. Let R2DBC H2 sublass the relational H2Dialect to decouple from Postgres.
That's merged. |
As per the suggestion of the H2 maintainer.
Closes #1287