mirror of https://github.com/apache/openjpa.git
OPENJPA-898: Parse query hints for NamedNativeQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743270 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b20e5e7086
commit
5b558e5388
|
@ -1721,6 +1721,8 @@ public class AnnotationPersistenceMetaDataParser
|
|||
|
||||
if (!StringUtils.isEmpty(query.resultSetMapping()))
|
||||
meta.setResultSetMappingName(query.resultSetMapping());
|
||||
for (QueryHint hint : query.hints())
|
||||
meta.addHint(hint.name(), hint.value());
|
||||
|
||||
meta.setSource(getSourceFile(), (el instanceof Class) ? el : null,
|
||||
meta.SRC_ANNOTATIONS);
|
||||
|
|
Loading…
Reference in New Issue