Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
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
Fabio B. Silva
made changes -
| Field | Original Value | New Value |
|---|---|---|
| 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 shoud implements methods like : {code} 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) {code} 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 |
As discussed to fix http://www.doctrine-project.org/jira/browse/DDC-1719 and other quote problems we need a quote strategy. The QuoteStrategy shoud implements methods like : {code} 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) {code} 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 |
Fabio B. Silva
made changes -
| 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 shoud implements methods like : {code} 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) {code} 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 |
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 : {code} 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) {code} 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 |
Fabio B. Silva
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Fabio B. Silva
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 2.3 [ 10185 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13739 ] | jira-feedback [ 15363 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15363 ] | jira-feedback2 [ 17227 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17227 ] | jira-feedback3 [ 19482 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1845, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Fixed by : https://github.com/doctrine/doctrine2/commit/cb72219b118c158c9b5344c4b81ff2b1a9149ab0