mirror of https://github.com/apache/openjpa.git
OPENJPA-1129: Remove wrong hint setting from NamedQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df986cb186
commit
2236c1833e
|
@ -1788,7 +1788,6 @@ public class AnnotationPersistenceMetaDataParser
|
||||||
meta = getRepository().addQueryMetaData(_cls, query.name());
|
meta = getRepository().addQueryMetaData(_cls, query.name());
|
||||||
meta.setQueryString(query.query());
|
meta.setQueryString(query.query());
|
||||||
meta.setLanguage(JPQLParser.LANG_JPQL);
|
meta.setLanguage(JPQLParser.LANG_JPQL);
|
||||||
meta.addHint("openjpa.FetchPlan.ReadLockMode", query.lockMode());
|
|
||||||
for (QueryHint hint : query.hints())
|
for (QueryHint hint : query.hints())
|
||||||
meta.addHint(hint.name(), hint.value());
|
meta.addHint(hint.name(), hint.value());
|
||||||
|
|
||||||
|
@ -1917,3 +1916,4 @@ public class AnnotationPersistenceMetaDataParser
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue