I’ve read the documentation but I seem to be hitting a potential issue with AutoQuery and Postgres. I noticed in the release notes that the conversion to snake_case was dropped in v8.9 I think?
My PostgreSQL tables are PascalCase when migrations has created them.
For these models:
- PendingRegistration
- BusinessMember
ModelDefinition is PascalCase:
- PendingRegistration
- BusinessMember
Plain OrmLite SQL is also PascalCase:
SELECT … FROM “PendingRegistration”
SELECT … FROM “BusinessMember”
But AutoQuery emits snake_case SQL instead:
FROM “pending_registration”
FROM “business_member”
So the name rewrite is not happening in model metadata or plain OrmLite SQL generation. It appears to happen inside the AutoQuery pipeline.