|
@@ 1495-1497 (lines=3) @@
|
| 1492 |
|
if (isset($associationMapping['id']) && $associationMapping['id']) { |
| 1493 |
|
$lines[] = $this->spaces . ' * @' . $this->annotationsPrefix . 'Id'; |
| 1494 |
|
|
| 1495 |
|
if ($generatorType = $this->getIdGeneratorTypeString($metadata->generatorType)) { |
| 1496 |
|
$lines[] = $this->spaces . ' * @' . $this->annotationsPrefix . 'GeneratedValue(strategy="' . $generatorType . '")'; |
| 1497 |
|
} |
| 1498 |
|
} |
| 1499 |
|
|
| 1500 |
|
$type = null; |
|
@@ 1689-1691 (lines=3) @@
|
| 1686 |
|
if (isset($fieldMapping['id']) && $fieldMapping['id']) { |
| 1687 |
|
$lines[] = $this->spaces . ' * @' . $this->annotationsPrefix . 'Id'; |
| 1688 |
|
|
| 1689 |
|
if ($generatorType = $this->getIdGeneratorTypeString($metadata->generatorType)) { |
| 1690 |
|
$lines[] = $this->spaces.' * @' . $this->annotationsPrefix . 'GeneratedValue(strategy="' . $generatorType . '")'; |
| 1691 |
|
} |
| 1692 |
|
|
| 1693 |
|
if ($metadata->sequenceGeneratorDefinition) { |
| 1694 |
|
$sequenceGenerator = []; |