You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2008/11/14 23:33:24 UTC

svn commit: r714170 - /db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java

Author: clr
Date: Fri Nov 14 14:33:24 2008
New Revision: 714170

URL: http://svn.apache.org/viewvc?rev=714170&view=rev
Log:
Update query20 for JDO 2.2

Modified:
    db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java

Modified: db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java?rev=714170&r1=714169&r2=714170&view=diff
==============================================================================
--- db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java (original)
+++ db/jdo/trunk/query20/src/java/org/apache/jdo/impl/jdoql/QueryImpl.java Fri Nov 14 14:33:24 2008
@@ -584,7 +584,7 @@
      * @return the filtered Collection.
      * @param parameters the Object array with all of the parameters.
      */
-    public Object executeWithArray(Object[] parameters)
+    public Object executeWithArray(Object... parameters)
     {
         synchronized (this.paramtab)
         {
@@ -843,9 +843,9 @@
      * @return the number of instances of the candidate class that were deleted
      * @since 2.0
      */
-    public long deletePersistentAll (Object[] parameters) {
+    public long deletePersistentAll (Object... parameters) {
         throw new UnsupportedOperationException(
-            "method deletePersistentAll(Object[]) is not yet implemented");
+            "method deletePersistentAll(Object...) is not yet implemented");
     }
 
     /**
@@ -1023,4 +1023,16 @@
             this.candidateClassName = candidateClass.getName();
         out.defaultWriteObject();
     }
+
+    public void addSubquery(Query arg0, String arg1, String arg2, String arg3) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    public void addSubquery(Query arg0, String arg1, String arg2, String... arg3) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
+
+    public void addSubquery(Query arg0, String arg1, String arg2, Map arg3) {
+        throw new UnsupportedOperationException("Not supported yet.");
+    }
 }