DDC-3293: XML Mappings disallow disabling column prefix for embeddables #4073

Closed
opened 2026-01-22 14:34:40 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Sep 1, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @ocramius:

As of DDC-3292, it is not possible to disable the column prefix for embeddables in XML mappings. This example shows that "false" is used as column prefix:

<embedded name="address" class="Address" column-prefix="false" />

A possible solution is to use something like:

<embedded name="address" class="Address" use-column-prefix="false" />

or

<embedded name="address" class="Address" use-column-prefix="true" />

Originally created by @doctrinebot on GitHub (Sep 1, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @ocramius: As of [DDC-3292](http://www.doctrine-project.org/jira/browse/DDC-3292), it is not possible to disable the column prefix for embeddables in XML mappings. This example shows that `"false"` is used as column prefix: `<embedded name="address" class="Address" column-prefix="false" />` A possible solution is to use something like: `<embedded name="address" class="Address" use-column-prefix="false" />` or `<embedded name="address" class="Address" use-column-prefix="true" />`
admin added the Bug label 2026-01-22 14:34:40 +01:00
admin closed this issue 2026-01-22 14:34:41 +01:00
Author
Owner
@doctrinebot commented on GitHub (Sep 1, 2014): - depends on [DDC-3477: [GH-1238] Avoid prefixing columns when `false` is assigned to `column-prefix`](http://www.doctrine-project.org/jira/browse/DDC-3477) - relates to [DDC-3292: [GH-1127] Document embeddables column prefixing](http://www.doctrine-project.org/jira/browse/DDC-3292)
Author
Owner

@doctrinebot commented on GitHub (Jan 8, 2015):

Issue was closed with resolution "Fixed"

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

No dependencies set.

Reference: doctrine/archived-orm#4073