HHH-14178 Fix Hana test failures
This commit is contained in:
parent
efa7e66c73
commit
e8b6bbbef4
|
@ -180,6 +180,8 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Long version;
|
private Long version;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@Column(name = "Id", nullable = false)
|
@Column(name = "Id", nullable = false)
|
||||||
|
@ -191,6 +193,14 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
@Version
|
@Version
|
||||||
@Column(name = "Version", nullable = false)
|
@Column(name = "Version", nullable = false)
|
||||||
public Long getVersion() {
|
public Long getVersion() {
|
||||||
|
@ -274,6 +284,8 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Set<VersionedMappingUnversionedParent> versionedMappings;
|
private Set<VersionedMappingUnversionedParent> versionedMappings;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@Column(name="Id", nullable=false)
|
@Column(name="Id", nullable=false)
|
||||||
|
@ -294,6 +306,14 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
@OneToMany(mappedBy="parent", cascade={ javax.persistence.CascadeType.DETACH, javax.persistence.CascadeType.MERGE, javax.persistence.CascadeType.REFRESH, javax.persistence.CascadeType.REMOVE }, orphanRemoval=true)
|
@OneToMany(mappedBy="parent", cascade={ javax.persistence.CascadeType.DETACH, javax.persistence.CascadeType.MERGE, javax.persistence.CascadeType.REFRESH, javax.persistence.CascadeType.REMOVE }, orphanRemoval=true)
|
||||||
@Cascade({ org.hibernate.annotations.CascadeType.DELETE, org.hibernate.annotations.CascadeType.LOCK, org.hibernate.annotations.CascadeType.REPLICATE })
|
@Cascade({ org.hibernate.annotations.CascadeType.DELETE, org.hibernate.annotations.CascadeType.LOCK, org.hibernate.annotations.CascadeType.REPLICATE })
|
||||||
protected Set<VersionedMappingUnversionedParent> getVersionedMappings() {
|
protected Set<VersionedMappingUnversionedParent> getVersionedMappings() {
|
||||||
|
@ -355,6 +375,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Long version;
|
private Long version;
|
||||||
private Set<VersionedMappingVersionedParent> children;
|
private Set<VersionedMappingVersionedParent> children;
|
||||||
|
private String name;
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
@ -376,6 +397,14 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
@Version
|
@Version
|
||||||
@Column(name="Version", nullable=false)
|
@Column(name="Version", nullable=false)
|
||||||
public Long getVersion() {
|
public Long getVersion() {
|
||||||
|
@ -447,6 +476,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
private MappingId id;
|
private MappingId id;
|
||||||
private Child child;
|
private Child child;
|
||||||
private Long version;
|
private Long version;
|
||||||
|
private String name;
|
||||||
|
|
||||||
@EmbeddedId
|
@EmbeddedId
|
||||||
public MappingId getId() {
|
public MappingId getId() {
|
||||||
|
@ -467,6 +497,14 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
this.version = version;
|
this.version = version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
protected UnversionedParent parent;
|
protected UnversionedParent parent;
|
||||||
|
|
||||||
@ManyToOne(optional=false, fetch=FetchType.LAZY)
|
@ManyToOne(optional=false, fetch=FetchType.LAZY)
|
||||||
|
@ -560,6 +598,7 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
private MappingId id;
|
private MappingId id;
|
||||||
private Child child;
|
private Child child;
|
||||||
private Long version;
|
private Long version;
|
||||||
|
private String name;
|
||||||
|
|
||||||
@EmbeddedId
|
@EmbeddedId
|
||||||
public MappingId getId() {
|
public MappingId getId() {
|
||||||
|
@ -580,6 +619,14 @@ public class NewlyInstantiatdCollectionSkipDeleteOrphanTest extends BaseCoreFunc
|
||||||
this.version = version;
|
this.version = version;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
protected VersionedParent parent;
|
protected VersionedParent parent;
|
||||||
|
|
||||||
@ManyToOne(optional=false, fetch=FetchType.LAZY)
|
@ManyToOne(optional=false, fetch=FetchType.LAZY)
|
||||||
|
|
Loading…
Reference in New Issue