DDC-2362: [GH-624] Fix getSQLTableAlias for postgre camelized table name #2967

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

Originally created by @doctrinebot on GitHub (Mar 22, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

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

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

Message:

In postgreSQL with old databases we can have camelized model names to query on we need to add quote around the table name like :

 * @ORM\Table(name="""someThing""")

But when query is built the alias taken will be " this fix will find the good alias to use enabling to query camelized tables

Originally created by @doctrinebot on GitHub (Mar 22, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: This issue is created automatically through a Github pull request on behalf of cedriclombardot: Url: https://github.com/doctrine/doctrine2/pull/624 Message: In postgreSQL with old databases we can have camelized model names to query on we need to add quote around the table name like : ``` * @ORM\Table(name="""someThing""") ``` But when query is built the alias taken will be `"` this fix will find the good alias to use enabling to query camelized tables
admin added the Bug label 2026-01-22 14:08:40 +01:00
admin closed this issue 2026-01-22 14:08:41 +01:00
Author
Owner

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

Comment created by @beberlei:

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

@doctrinebot commented on GitHub (Mar 22, 2013): Comment created by @beberlei: A related Github Pull-Request [GH-624] was closed https://github.com/doctrine/doctrine2/pull/624
Author
Owner

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

Comment created by @beberlei:

PR was fixed in favor of Doctrine ORM GH-615

@doctrinebot commented on GitHub (May 1, 2013): Comment created by @beberlei: PR was fixed in favor of Doctrine ORM GH-615
Author
Owner

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

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (May 1, 2013): Issue was closed with resolution "Invalid"
Author
Owner

@doctrinebot commented on GitHub (Oct 19, 2014):

Comment created by @doctrinebot:

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

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

@doctrinebot commented on GitHub (Oct 19, 2014):

Comment created by @doctrinebot:

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

@doctrinebot commented on GitHub (Oct 19, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-615] was closed: https://github.com/doctrine/doctrine2/pull/615
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2967