8000 fix(sql-codegen): escape java keywords in class names by answndud · Pull Request #3934 · querydsl/querydsl · GitHub
[go: up one dir, main page]

Skip to content

fix(sql-codegen): escape java keywords in class names#3934

Open
answndud wants to merge 1 commit intoquerydsl:masterfrom
answndud:fix/java-keyword-3863
Open

fix(sql-codegen): escape java keywords in class names#3934
answndud wants to merge 1 commit intoquerydsl:masterfrom
answndud:fix/java-keyword-3863

Conversation

@answndud
Copy link
@answndud answndud commented Feb 9, 2026

Summary

Testing

  • mvn -P all test -pl querydsl-sql-codegen -Dtest=DefaultNamingStrategyTest

Ensure table names that match Java keywords (case-insensitive) are normalized to avoid invalid generated Q types.

Related: querydsl#3863
@answndud
Copy link
Author
answndud commented Mar 4, 2026

Friendly follow-up on this PR.\n\nI can rebase on the latest master branch, add/adjust tests, or revise naming-rule handling if you prefer a different implementation style.\n\nIf there is a preferred direction for #3863, I can update this PR accordingly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If table name is a java keyword, querydsl-maven-plugin generates invalid java.

1 participant

0