openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1203869 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java
Date Fri, 18 Nov 2011 21:49:48 GMT
Author: curtisr7
Date: Fri Nov 18 21:49:47 2011
New Revision: 1203869

URL: http://svn.apache.org/viewvc?rev=1203869&view=rev
Log:
OPENJPA-2075: Add depricated constructor.

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

Modified: openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java?rev=1203869&r1=1203868&r2=1203869&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java
(original)
+++ openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java
Fri Nov 18 21:49:47 2011
@@ -117,9 +117,18 @@ public class QueryImpl<X> extends Abstra
 	 * 
 	 * @deprecated
 	 */
-	public QueryImpl(EntityManagerImpl em, org.apache.openjpa.kernel.Query query) {
-		this(em, null, query, null);
-	}
+    public QueryImpl(EntityManagerImpl em, RuntimeExceptionTranslator ret, org.apache.openjpa.kernel.Query
query) {
+        this(em, ret, query, null);
+    }
+	
+    /**
+     * Constructor; supply factory and delegate.
+     * 
+     * @deprecated
+     */
+    public QueryImpl(EntityManagerImpl em, org.apache.openjpa.kernel.Query query) {
+        this(em, null, query, null);
+    }	
 
 	/**
 	 * Delegate.



Mime
View raw message