-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Codegen case sensivity #16570
Comments
Thanks for your message. I'm assuming this question is also yours? Can you please show your complete code generation configuration? |
|
I wonder, is this really a problem caused by jOOQ instead of by your H2 upgrade? I don't see why jOOQ would produce such a change on its own. Does your H2 database produce lower case identifiers when you connect to it (e.g. using Dbeaver) and query the Please note that rather than using H2 to generate code, why not work with testcontainers and an actual MySQL instance. That would also allow you to use vendor specific features not supported by H2's |
Per default H2 tables, columns and schema are UPPER_CASE. I had to change the config for H2 to lower_case and then the schema from 'PUBLIC' to 'public' for JOOQ code-gen. |
Your question
I upgraded a project from
The entities generated in Java, used to be generated with DSL names in lower_case. After upgrade, it became UPPER_CASE. I had to change the setup of H2 to generate tables in lower_case. But I didnt understand what changed in JOOQ code-gen so that I needed to change this config
jOOQ Version
3.19.3
Database product and version
H2 2.2.224
Java Version
openJDK21
JDBC / R2DBC driver name and version (include name if unofficial driver)
No response
The text was updated successfully, but these errors were encountered: