mirror of https://github.com/apache/openjpa.git
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:
parent
8c1175054f
commit
c864f5dfc0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue