|
@@ 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; |
|
@@ 1709-1711 (lines=3) @@
|
| 1706 |
|
if (isset($fieldMapping['id']) && $fieldMapping['id']) { |
| 1707 |
|
$lines[] = $this->spaces . ' * @' . $this->annotationsPrefix . 'Id'; |
| 1708 |
|
|
| 1709 |
|
if ($generatorType = $this->getIdGeneratorTypeString($metadata->generatorType)) { |
| 1710 |
|
$lines[] = $this->spaces.' * @' . $this->annotationsPrefix . 'GeneratedValue(strategy="' . $generatorType . '")'; |
| 1711 |
|
} |
| 1712 |
|
|
| 1713 |
|
if ($metadata->sequenceGeneratorDefinition) { |
| 1714 |
|
$sequenceGenerator = []; |