diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Dependent1.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Dependent1.java index 991dd3d94..c73e9a7bb 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Dependent1.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Dependent1.java @@ -22,6 +22,7 @@ import javax.persistence.*; @Entity +@Table(name="DEP1_MBI") public class Dependent1 { @EmbeddedId DependentId1 id; diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Employee1.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Employee1.java index 79b83d78b..038d941ac 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Employee1.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/Employee1.java @@ -22,6 +22,7 @@ import javax.persistence.*; import java.util.*; @Entity +@Table(name="EMP1_MBI") public class Employee1 { @Id int empId; diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMappedById.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMappedById.java index 21fef0055..445d61579 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMappedById.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/enhance/identity/TestMappedById.java @@ -40,7 +40,7 @@ public class TestMappedById extends SingleEMFTestCase { public int dId = 1; public void setUp() throws Exception { - super.setUp(CLEAR_TABLES, Dependent1.class, Employee1.class, + super.setUp(DROP_TABLES, Dependent1.class, Employee1.class, DependentId1.class); }