Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1845

Implements a QuoteStrategy to fix quote problems

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: Mapping Drivers
    • Security Level: All
    • Labels:
      None

      Description

      As discussed to fix 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-142
      http://www.doctrine-project.org/jira/browse/DDC-1843
      http://www.doctrine-project.org/jira/browse/DDC-1831

        Activity

          People

          • Assignee:
            Fabio B. Silva
            Reporter:
            Fabio B. Silva
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: