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