From 2236c1833ecb454e69dee813ddb32933292c5e5a Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Mon, 8 Jun 2009 21:02:17 +0000 Subject: [PATCH] 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 --- .../persistence/AnnotationPersistenceMetaDataParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java index a79489b60..f7322509a 100644 --- a/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java +++ b/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java @@ -1788,7 +1788,6 @@ public class AnnotationPersistenceMetaDataParser meta = getRepository().addQueryMetaData(_cls, query.name()); meta.setQueryString(query.query()); meta.setLanguage(JPQLParser.LANG_JPQL); - meta.addHint("openjpa.FetchPlan.ReadLockMode", query.lockMode()); for (QueryHint hint : query.hints()) meta.addHint(hint.name(), hint.value()); @@ -1917,3 +1916,4 @@ public class AnnotationPersistenceMetaDataParser } } } +