mirror of
https://github.com/apache/openjpa.git
synced 2025-02-06 01:59:17 +00:00
OPENJPA-565 - Ignore duplicate NamedQuery definition and continue to parse the remaining entries in NamedQueries definition.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d923c33a3
commit
4cca7188c5
@ -1582,7 +1582,7 @@ public class AnnotationPersistenceMetaDataParser
|
||||
if (meta != null) {
|
||||
if (_log.isWarnEnabled())
|
||||
_log.warn(_loc.get("dup-query", query.name(), el));
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
meta = getRepository().addQueryMetaData(null, query.name());
|
||||
@ -1623,7 +1623,7 @@ public class AnnotationPersistenceMetaDataParser
|
||||
if (meta != null) {
|
||||
if (_log.isWarnEnabled())
|
||||
_log.warn(_loc.get("dup-query", query.name(), el));
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
meta = getRepository().addQueryMetaData(null, query.name());
|
||||
|
Loading…
x
Reference in New Issue
Block a user