openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r649947 - /openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/QueryImpl.java
Date Sun, 20 Apr 2008 18:09:21 GMT
Author: mikedd
Date: Sun Apr 20 11:09:19 2008
New Revision: 649947

URL: http://svn.apache.org/viewvc?rev=649947&view=rev
Log:
OPENJPA-442 committing patch provided by Teresa Kan

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=649947&r1=649946&r2=649947&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
Sun Apr 20 11:09:19 2008
@@ -77,10 +77,17 @@
         _em = em;
         _query = new DelegatingQuery(query, ret);
     }
-
+    
     /**
-     * Delegate.
+     * Constructor; supply factory and delegate.
      */
+    public QueryImpl(EntityManagerImpl em, org.apache.openjpa.kernel.Query query) {
+        this(em, null, query);
+    }
+
+    /**
+	 * Delegate.
+	 */
     public org.apache.openjpa.kernel.Query getDelegate() {
         return _query.getDelegate();
     }



Mime
View raw message