DDC-2307: Fields not wrapped in back ticks when removing entity. #2898

Closed
opened 2026-01-22 14:06:57 +01:00 by admin · 3 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 20, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user amamut:

Field definition:

/*** @Id @Column(type="string", name="`key`") **/
    private $_key;

When removing entity mysql.log shows this:

36 Query     START TRANSACTION
                   36 Query     DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312'
                   36 Query     rollback

It seems that on a remove statement the field names aren't being wrapped in back ticks.

Originally created by @doctrinebot on GitHub (Feb 20, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user amamut: Field definition: ``` /*** @Id @Column(type="string", name="`key`") **/ private $_key; ``` When removing entity mysql.log shows this: ``` 36 Query START TRANSACTION 36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312' 36 Query rollback ``` It seems that on a remove statement the field names aren't being wrapped in back ticks.
admin added the Bug label 2026-01-22 14:06:57 +01:00
admin closed this issue 2026-01-22 14:06:57 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 14, 2013):

Comment created by @beberlei:

Which version are you using? This has been fixed at some point

@doctrinebot commented on GitHub (Mar 14, 2013): Comment created by @beberlei: Which version are you using? This has been fixed at some point
Author
Owner

@doctrinebot commented on GitHub (May 1, 2013):

Comment created by @beberlei:

Closing because of no feedback

@doctrinebot commented on GitHub (May 1, 2013): Comment created by @beberlei: Closing because of no feedback
Author
Owner

@doctrinebot commented on GitHub (May 1, 2013):

Issue was closed with resolution "Cannot Reproduce"

@doctrinebot commented on GitHub (May 1, 2013): Issue was closed with resolution "Cannot Reproduce"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2898