DDC-2825: SQlite - Table names are not escaped when inserting data #3531

Open
opened 2026-01-22 14:21:38 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Nov 27, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user michael.perrin:

When a table name is defined with a dot (example: schemaname.tablename) in a Doctrine entity, it is created with a double underscode in SQlite (example : schemaname**tablename).

However, when a Doctrine entity is persisted (and saved with INSERT INTO), the dot is not converted to a double underscore, leading to "no such table: schemaname.tablename" exception.

Originally created by @doctrinebot on GitHub (Nov 27, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user michael.perrin: When a table name is defined with a dot (example: schemaname.tablename) in a Doctrine entity, it is created with a double underscode in SQlite (example : schemaname**tablename). However, when a Doctrine entity is persisted (and saved with INSERT INTO), the dot is not converted to a double underscore, leading to "no such table: schemaname.tablename" exception.
admin added the Bug label 2026-01-22 14:21:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3531