HHH-12843 Fix CreateDeleteTest and FlushIdGenTest with Oracle
This commit is contained in:
parent
0caee98355
commit
88a015368b
|
@ -19,15 +19,18 @@ public class RootEntity implements Serializable {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy= GenerationType.IDENTITY)
|
@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;
|
private long uid;
|
||||||
|
|
||||||
|
public String description;
|
||||||
|
|
||||||
@javax.persistence.OneToMany(mappedBy = "linkedRoot")
|
@javax.persistence.OneToMany(mappedBy = "linkedRoot")
|
||||||
private java.util.List<RelatedEntity> linkedEntities = new java.util.ArrayList<RelatedEntity>();
|
private java.util.List<RelatedEntity> linkedEntities = new java.util.ArrayList<RelatedEntity>();
|
||||||
|
|
||||||
public long getUid() {
|
public long getUid() {
|
||||||
return uid;
|
return uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUid(long uid) {
|
public void setUid(long uid) {
|
||||||
this.uid = uid;
|
this.uid = uid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue