DDC-1845: Implements a QuoteStrategy to fix quote problems #2506

Closed
doctrinebot opened this Issue May 28, 2012 · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user @FabioBatSilva:

As discussed to fix http://www.doctrine-project.org/jira/browse/[DDC-1719](http://www.doctrine-project.org/jira/browse/DDC-1719)
and other quote problems we need a quote strategy.

The QuoteStrategy should implements methods like :

function getColumnName($fieldName, ClassMetadata $class)
function getTableName(ClassMetadata $class)
function getJoinTableName($relation, ClassMetadata $class)
function getIdentifierColumnNames(ClassMetadata $class)
function getColumnAlias($columnName, $counter, ClassMetadata $class = null)

All current quotes will be replaced by one default QuoteStrategy.
That allows users find solutions themselves for weird quote cases.

Related Tickets :

http://www.doctrine-project.org/jira/browse/[DDC-1719](http://www.doctrine-project.org/jira/browse/DDC-1719)
http://www.doctrine-project.org/jira/browse/[DDC-142](http://www.doctrine-project.org/jira/browse/DDC-142)
http://www.doctrine-project.org/jira/browse/[DDC-1843](http://www.doctrine-project.org/jira/browse/DDC-1843)
http://www.doctrine-project.org/jira/browse/[DDC-1831](http://www.doctrine-project.org/jira/browse/DDC-1831)

@doctrinebot

Comment created by @FabioBatSilva:

Fixed by : cb72219

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment