openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r628840 - in /openjpa/trunk/openjpa-persistence-jdbc: ./ src/test/java/org/apache/openjpa/persistence/common/utils/ src/test/java/org/apache/openjpa/persistence/meta/common/apps/ src/test/java/org/apache/openjpa/persistence/query/
Date Mon, 18 Feb 2008 18:25:56 GMT
Author: pcl
Date: Mon Feb 18 10:25:55 2008
New Revision: 628840

URL: http://svn.apache.org/viewvc?rev=628840&view=rev
Log:
Enable more new tests.

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/pom.xml
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/common/utils/AbstractTestCase.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/meta/common/apps/MetaTest1.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestEJBQueryInterface.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/pom.xml?rev=628840&r1=628839&r2=628840&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/pom.xml (original)
+++ openjpa/trunk/openjpa-persistence-jdbc/pom.xml Mon Feb 18 10:25:55 2008
@@ -470,7 +470,6 @@
                         <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers.java</exclude>
                         <exclude>org/apache/openjpa/persistence/kernel/TestSpecialNumbers2.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestClassMetaData.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/meta/TestExternalValues.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestFieldDeclarationOrder.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestNonPersistentFields.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestOrderBy.java</exclude>
@@ -478,9 +477,6 @@
                         <exclude>org/apache/openjpa/persistence/meta/TestSequenceAssigned.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestValueStrategies.java</exclude>
                         <exclude>org/apache/openjpa/persistence/meta/TestXMLPersistenceMetaDataSerializer.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/query/TestEJBDeleteUpdateImpl.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/query/TestEJBQueryInterface.java</exclude>
-                        <exclude>org/apache/openjpa/persistence/query/TestQueryResults.java</exclude>
                     </excludes>
                     <systemProperties>
                         <property>

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/common/utils/AbstractTestCase.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/common/utils/AbstractTestCase.java?rev=628840&r1=628839&r2=628840&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/common/utils/AbstractTestCase.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/common/utils/AbstractTestCase.java
Mon Feb 18 10:25:55 2008
@@ -205,6 +205,7 @@
             map.put("openjpa.jdbc.SynchronizeMappings",
                 "buildSchema(ForeignKeys=true," +
                     "SchemaAction='add,deleteTableContents')");
+        map.put("openjpa.Log", "SQL=TRACE");
     }
 
     protected OpenJPAEntityManagerFactory getEmf() {

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/meta/common/apps/MetaTest1.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/meta/common/apps/MetaTest1.java?rev=628840&r1=628839&r2=628840&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/meta/common/apps/MetaTest1.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/meta/common/apps/MetaTest1.java
Mon Feb 18 10:25:55 2008
@@ -19,6 +19,7 @@
 package org.apache.openjpa.persistence.meta.common.apps;
 
 import javax.persistence.Entity;
+import javax.persistence.Table;
 
 import org.apache.openjpa.persistence.PersistentCollection;
 
@@ -51,6 +52,7 @@
     private int[] intArrayField;
 
     @Entity
+    @Table(name="MetaTest1_Inner")
     public static class Inner {
 
         private long longField;

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestEJBQueryInterface.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestEJBQueryInterface.java?rev=628840&r1=628839&r2=628840&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestEJBQueryInterface.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/query/TestEJBQueryInterface.java
Mon Feb 18 10:25:55 2008
@@ -109,7 +109,7 @@
     public void testSetFirstResults() {
         EntityManager em = currentEntityManager();
 
-        List l = em.createQuery("Select object(o) from Entity1 o")
+        List l = em.createQuery("Select object(o) from Entity1 o order by o.pk")
             .setFirstResult(3)
             .getResultList();
 



Mime
View raw message