openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fayw...@apache.org
Subject svn commit: r765742 - in /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations: C.java CM.java D.java E.java TestRelationFieldAsPrimaryKeyAndForeignKey.java VC.java VCS.java
Date Thu, 16 Apr 2009 20:11:04 GMT
Author: faywang
Date: Thu Apr 16 20:11:03 2009
New Revision: 765742

URL: http://svn.apache.org/viewvc?rev=765742&view=rev
Log:
OPENJPA-1024: clean up test cases

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/C.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/CM.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/D.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/E.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestRelationFieldAsPrimaryKeyAndForeignKey.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VC.java
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VCS.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/C.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/C.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/C.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/C.java
Thu Apr 16 20:11:03 2009
@@ -32,7 +32,7 @@
 
 @Entity
 @IdClass(C.CId.class)
-@Table(name="C4")
+@Table(name="C4", schema="relations")
 public class C {
 	
 	@Id

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/CM.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/CM.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/CM.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/CM.java
Thu Apr 16 20:11:03 2009
@@ -34,7 +34,7 @@
 
 @Entity
 @IdClass(CM.CMId.class)
-@Table(name="CM4")
+@Table(name="CM4", schema="relations")
 public class CM {
 	
 	@Id

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/D.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/D.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/D.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/D.java
Thu Apr 16 20:11:03 2009
@@ -28,7 +28,7 @@
 
 
 @Entity
-@Table(name="D4")
+@Table(name="D4", schema="relations")
 @IdClass(D.CId.class)
 public class D {
 

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/E.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/E.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/E.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/E.java
Thu Apr 16 20:11:03 2009
@@ -28,7 +28,7 @@
 import javax.persistence.Table;
 
 @Entity
-@Table(name="E4")
+@Table(name="E4", schema="relations")
 public class E {
 
 	@Id

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestRelationFieldAsPrimaryKeyAndForeignKey.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestRelationFieldAsPrimaryKeyAndForeignKey.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestRelationFieldAsPrimaryKeyAndForeignKey.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/TestRelationFieldAsPrimaryKeyAndForeignKey.java
Thu Apr 16 20:11:03 2009
@@ -31,7 +31,8 @@
     extends SingleEMFTestCase {
 
 	public void setUp() {
-	    setUp(C.class, CM.class, D.class, E.class, VC.class, VCS.class);
+	    setUp(C.class, CM.class, D.class, E.class, VC.class, 
+	        VCS.class, CLEAR_TABLES);
 	    
         EntityManager em = emf.createEntityManager();
         try {

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VC.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VC.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VC.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VC.java
Thu Apr 16 20:11:03 2009
@@ -35,7 +35,7 @@
 import org.apache.openjpa.persistence.jdbc.ForeignKey;
 
 @Entity
-@Table(name="VC4")
+@Table(name="VC4", schema="relations")
 @IdClass(VC.VCId.class)
 
 public class VC {

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VCS.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VCS.java?rev=765742&r1=765741&r2=765742&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VCS.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/relations/VCS.java
Thu Apr 16 20:11:03 2009
@@ -34,7 +34,7 @@
 import org.apache.openjpa.persistence.jdbc.ForeignKey;
 
 @Entity
-@Table(name="VCS4")
+@Table(name="VCS4", schema="relations")
 @IdClass(VCS.VCSId.class)
 public class VCS {
 



Mime
View raw message