Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Lack of quotation usage #20

@SwordOfSouls

Description

@SwordOfSouls

None of the DAO generated queries utilize SQL quotation. This becomes problematic in various situations, but, is most visible when table names utilize built in symbols.

Example -
The statement select user.legalName, user.internalEmail, user.id from user LIMIT 1 OFFSET 0
results in org.jdbi.v3.core.statement.UnableToExecuteStatementException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "."

This would be fixed by simply adding quotations.
SELECT "user"."legal_name", "user"."internal_email", "user"."id" FROM "user" LIMIT 1 OFFSET 0

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwaiting for upstreamThis is a bug in a library dependency

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions