openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r1335541 - /openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java
Date Tue, 08 May 2012 14:09:54 GMT
Author: allee8285
Date: Tue May  8 14:09:53 2012
New Revision: 1335541

URL: http://svn.apache.org/viewvc?rev=1335541&view=rev
Log:
OPENJPA-2179 - Fix table name conflict between org.apache.openjpa.persistence.common.apps.Course
and org.apache.openjpa.jdbc.oracle.Course which caused the reported exception. 

Modified:
    openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java

Modified: openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java?rev=1335541&r1=1335540&r2=1335541&view=diff
==============================================================================
--- openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java
(original)
+++ openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/oracle/Course.java
Tue May  8 14:09:53 2012
@@ -30,6 +30,7 @@ import javax.persistence.Id;
 import javax.persistence.Lob;
 import javax.persistence.OneToMany;
 import javax.persistence.OrderColumn;
+import javax.persistence.Table;
 import javax.persistence.Version;
 import java.io.Serializable;
 import java.util.ArrayList;
@@ -39,6 +40,7 @@ import java.util.List;
  * This is a test entity to demonstrate OPENJPA-2179
  */
 @Entity
+@Table(name="ORACOURSE")
 public class Course implements Serializable
 {
 



Mime
View raw message