@@ 2412-2414 (lines=3) @@ | ||
2409 | throw MappingException::nameIsMandatoryForQueryMapping($this->name); |
|
2410 | } |
|
2411 | ||
2412 | if (isset($this->namedQueries[$queryMapping['name']])) { |
|
2413 | throw MappingException::duplicateQueryMapping($this->name, $queryMapping['name']); |
|
2414 | } |
|
2415 | ||
2416 | if (!isset($queryMapping['query'])) { |
|
2417 | throw MappingException::emptyQueryMapping($this->name, $queryMapping['name']); |
|
@@ 2447-2449 (lines=3) @@ | ||
2444 | throw MappingException::nameIsMandatoryForQueryMapping($this->name); |
|
2445 | } |
|
2446 | ||
2447 | if (isset($this->namedNativeQueries[$queryMapping['name']])) { |
|
2448 | throw MappingException::duplicateQueryMapping($this->name, $queryMapping['name']); |
|
2449 | } |
|
2450 | ||
2451 | if (!isset($queryMapping['query'])) { |
|
2452 | throw MappingException::emptyQueryMapping($this->name, $queryMapping['name']); |