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