mirror of https://github.com/apache/openjpa.git
OPENJPA-871: fix test case name clash problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741752 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed3889ff69
commit
16778feb29
|
@ -22,6 +22,7 @@ import javax.persistence.*;
|
||||||
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name="DEP1_MBI")
|
||||||
public class Dependent1 {
|
public class Dependent1 {
|
||||||
@EmbeddedId
|
@EmbeddedId
|
||||||
DependentId1 id;
|
DependentId1 id;
|
||||||
|
|
|
@ -22,6 +22,7 @@ import javax.persistence.*;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
|
@Table(name="EMP1_MBI")
|
||||||
public class Employee1 {
|
public class Employee1 {
|
||||||
@Id
|
@Id
|
||||||
int empId;
|
int empId;
|
||||||
|
|
|
@ -40,7 +40,7 @@ public class TestMappedById extends SingleEMFTestCase {
|
||||||
public int dId = 1;
|
public int dId = 1;
|
||||||
|
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp(CLEAR_TABLES, Dependent1.class, Employee1.class,
|
super.setUp(DROP_TABLES, Dependent1.class, Employee1.class,
|
||||||
DependentId1.class);
|
DependentId1.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue