openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r782781 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
Date Mon, 08 Jun 2009 21:02:17 GMT
Author: ppoddar
Date: Mon Jun  8 21:02:17 2009
New Revision: 782781

URL: http://svn.apache.org/viewvc?rev=782781&view=rev
Log:
OPENJPA-1129: Remove wrong hint setting from NamedQuery

Modified:
    openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java?rev=782781&r1=782780&r2=782781&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.java
Mon Jun  8 21:02:17 2009
@@ -1788,7 +1788,6 @@
             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 @@
 		}
 	}
 }
+



Mime
View raw message