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:
Pinaki Poddar 2009-06-08 21:02:17 +00:00
parent df986cb186
commit 2236c1833e
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}
}