DDC-3569: [GH-1304] Documentation : fix table prefix with STI #4390

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

Originally created by @doctrinebot on GitHub (Feb 16, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of guillaumerobin:

Url: https://github.com/doctrine/doctrine2/pull/1304

Message:

If an Entity use STI, it gets its table name from the parent class. We need to check that a class is a root class of the hierarchy when adding prefix, otherwise children class are double prefixed.

Originally created by @doctrinebot on GitHub (Feb 16, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of guillaumerobin: Url: https://github.com/doctrine/doctrine2/pull/1304 Message: If an Entity use STI, it gets its table name from the parent class. We need to check that a class is a root class of the hierarchy when adding prefix, otherwise children class are double prefixed.
admin added the Bug label 2026-01-22 14:40:52 +01:00
admin closed this issue 2026-01-22 14:40:52 +01:00
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1304] was closed:
https://github.com/doctrine/doctrine2/pull/1304

@doctrinebot commented on GitHub (Feb 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1304] was closed: https://github.com/doctrine/doctrine2/pull/1304
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1304] was assigned:
https://github.com/doctrine/doctrine2/pull/1304

@doctrinebot commented on GitHub (Feb 16, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1304] was assigned: https://github.com/doctrine/doctrine2/pull/1304
Author
Owner

@doctrinebot commented on GitHub (Feb 16, 2015):

Issue was closed with resolution "Incomplete"

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

No dependencies set.

Reference: doctrine/archived-orm#4390