From c8895c6978546e325bd0fdde985965144e44a57a Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Mon, 11 Aug 2008 16:44:01 +0000 Subject: [PATCH] OPENJPA-687: Change table names to avoid conflict git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684806 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/openjpa/persistence/jdbc/query/domain/Customer.java | 2 ++ .../org/apache/openjpa/persistence/jdbc/query/domain/Order.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Customer.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Customer.java index c0ba1af8d..052617c90 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Customer.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Customer.java @@ -25,8 +25,10 @@ import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; +import javax.persistence.Table; @Entity +@Table(name="P_CUSTOMER") public class Customer { @Id @GeneratedValue diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Order.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Order.java index cc476bd49..74c0ec995 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Order.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/query/domain/Order.java @@ -25,7 +25,7 @@ import javax.persistence.ManyToOne; import javax.persistence.Table; @Entity -@Table(name="ORDERS") +@Table(name="P_ORDER") public class Order { @Id @GeneratedValue