HHH-12843 Fix CreateDeleteTest and FlushIdGenTest with Oracle

This commit is contained in:
Martin Simka 2018-07-20 13:11:27 +02:00 committed by Guillaume Smet
parent 0caee98355
commit 88a015368b
1 changed files with 4 additions and 1 deletions

View File

@ -19,15 +19,18 @@ public class RootEntity implements Serializable {
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
@Column(name = "universalid")// "uid" is a keywork in Oracle
@Column(name = "universalid")// "uid" is a keyword in Oracle
private long uid;
public String description;
@javax.persistence.OneToMany(mappedBy = "linkedRoot")
private java.util.List<RelatedEntity> linkedEntities = new java.util.ArrayList<RelatedEntity>();
public long getUid() {
return uid;
}
public void setUid(long uid) {
this.uid = uid;
}