db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1467677 - in /db/jdo/trunk: specification/OOO/Ch14-Query.odt tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java
Date Sat, 13 Apr 2013 18:59:01 GMT
Author: mbo
Date: Sat Apr 13 18:59:01 2013
New Revision: 1467677

URL: http://svn.apache.org/r1467677
Log:
JDO-719: JDOQL should support getDate instead of getDay

Modified:
    db/jdo/trunk/specification/OOO/Ch14-Query.odt
    db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java

Modified: db/jdo/trunk/specification/OOO/Ch14-Query.odt
URL: http://svn.apache.org/viewvc/db/jdo/trunk/specification/OOO/Ch14-Query.odt?rev=1467677&r1=1467676&r2=1467677&view=diff
==============================================================================
Binary files - no diff available.

Modified: db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java?rev=1467677&r1=1467676&r2=1467677&view=diff
==============================================================================
--- db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java
(original)
+++ db/jdo/trunk/tck/src/java/org/apache/jdo/tck/query/jdoql/methods/SupportedDateMethods.java
Sat Apr 13 18:59:01 2013
@@ -34,7 +34,7 @@ import org.apache.jdo.tck.util.BatchTest
  *<B>Assertion Description: </B>
  * New supported Date methods:
  * <ul>
- * <li>getDay()</li>
+ * <li>getDate()</li>
  * <li>getMonth()</li>
  * <li>getYear()</li>
  * </ul>
@@ -56,7 +56,7 @@ public class SupportedDateMethods extend
                 /*INTO*/        null, 
                 /*FROM*/        Person.class,
                 /*EXCLUDE*/     null,
-                /*WHERE*/       "birthdate.getDay() == 10",
+                /*WHERE*/       "birthdate.getDate() == 10",
                 /*VARIABLES*/   null,
                 /*PARAMETERS*/  null,
                 /*IMPORTS*/     null,
@@ -113,7 +113,7 @@ public class SupportedDateMethods extend
     }
     
     /** */
-    public void testGetDay() {
+    public void testGetDate() {
         int index = 0;
         executeQuery(index);
     }



Mime
View raw message