OPENJPA-1583 Fix table name collision caused by having multiple TimestampedEntity entities.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jeremy Bauer 2010-03-18 21:39:29 +00:00
parent 8c1175054f
commit c864f5dfc0
1 changed files with 2 additions and 4 deletions

View File

@ -19,14 +19,11 @@
package org.apache.openjpa.persistence.jdbc.update; package org.apache.openjpa.persistence.jdbc.update;
import java.sql.Timestamp; import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.CascadeType;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.OneToMany; import javax.persistence.Table;
import javax.persistence.Version; import javax.persistence.Version;
/** /**
@ -37,6 +34,7 @@ import javax.persistence.Version;
* *
*/ */
@Entity @Entity
@Table(name="TSENTITY")
public class TimestampedEntity { public class TimestampedEntity {
@Id @Id
@GeneratedValue @GeneratedValue