@@ 1424-1426 (lines=3) @@ | ||
1421 | } |
|
1422 | ||
1423 | // Check for composite key |
|
1424 | if ( ! $this->isIdentifierComposite && count($this->identifier) > 1) { |
|
1425 | $this->isIdentifierComposite = true; |
|
1426 | } |
|
1427 | } |
|
1428 | ||
1429 | if (Type::hasType($mapping['type']) && Type::getType($mapping['type'])->canRequireSQLConversion()) { |
|
@@ 1495-1497 (lines=3) @@ | ||
1492 | } |
|
1493 | ||
1494 | // Check for composite key |
|
1495 | if ( ! $this->isIdentifierComposite && count($this->identifier) > 1) { |
|
1496 | $this->isIdentifierComposite = true; |
|
1497 | } |
|
1498 | ||
1499 | if ($this->cache && !isset($mapping['cache'])) { |
|
1500 | throw CacheException::nonCacheableEntityAssociation($this->name, $mapping['fieldName']); |