OPENJPA-1597 Make entity table names unique

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927521 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-03-25 17:40:55 +00:00
parent 1c2f4470a2
commit 7382ba2f84
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ import javax.persistence.Table;
import javax.persistence.Transient;
@Entity
@Table(name="CONTACT")
@Table(name="CONTACT_ANNUITY")
@AttributeOverride(name="lastUpdateDate", column=@Column(name="LAST_UPDATE_TS"))
public class Contact extends AnnuityPersistebleObject implements IContact {
private static final long serialVersionUID = 4015672780551057807L;

View File

@ -29,10 +29,12 @@ import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Entity
@Table(name="PERSON_ANNUITY")
@Inheritance(strategy=InheritanceType.JOINED)
@AttributeOverride(name="lastUpdateDate", column=@Column(name="LAST_UPDATE_TS"))
public class Person extends AnnuityPersistebleObject implements IPerson {