-
Notifications
You must be signed in to change notification settings - Fork 13
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
SQL column names must be escaped #19
Comments
Maybe try using a custom naming convention that applies quotes: kwery/mapper/src/main/kotlin/com/github/andrewoma/kwery/mapper/TableConfiguration.kt Line 26 in dc29a45
|
Column names remain unchanged in SQL: they neither getting underscored (by default namingConvention), nor quoted (after adding TableConfiguration). |
Sounds a bit surprising. I'll have a look tomorrow my time |
Maybe that's because I specify col names explicitly. And it looks quite uncomfortable and dangerous to write |
AbstractDao#findById
executes such SQL for me:which is incorrect for PostgreSQL dialect: it requires camelCase column names to be in quotes, at least like this:
The text was updated successfully, but these errors were encountered: