mirror of https://github.com/apache/openjpa.git
Enable more new tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628840 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
161527339a
commit
a7648a78c5
|
@ -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>
|
||||
|
|
|
@ -205,6 +205,7 @@ public abstract class AbstractTestCase extends PersistenceTestCase {
|
|||
map.put("openjpa.jdbc.SynchronizeMappings",
|
||||
"buildSchema(ForeignKeys=true," +
|
||||
"SchemaAction='add,deleteTableContents')");
|
||||
map.put("openjpa.Log", "SQL=TRACE");
|
||||
}
|
||||
|
||||
protected OpenJPAEntityManagerFactory getEmf() {
|
||||
|
|
|
@ -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 @@ public class MetaTest1 {
|
|||
private int[] intArrayField;
|
||||
|
||||
@Entity
|
||||
@Table(name="MetaTest1_Inner")
|
||||
public static class Inner {
|
||||
|
||||
private long longField;
|
||||
|
|
|
@ -109,7 +109,7 @@ public class TestEJBQueryInterface extends BaseQueryTest {
|
|||
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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue