U materiálu a služeb bylo změněno načítání ownedBy a modifiedBy na lazy

multitenant
Josef Rokos 11 years ago
parent 337000b3da
commit 426bbe1df3

@ -25,10 +25,10 @@ public abstract class RequirementSubject implements OwnedDataModel {
@Column(name =" ID")
@GeneratedValue(strategy = GenerationType.TABLE)
private int id;
@ManyToOne(fetch=FetchType.EAGER)
@ManyToOne(fetch=FetchType.LAZY)
@JoinColumn(name="OWNED_BY_ID")
private User ownedBy;
@ManyToOne(fetch=FetchType.EAGER)
@ManyToOne(fetch=FetchType.LAZY)
@JoinColumn(name="MODIFIED_BY_ID")
private User modifiedBy;
@Column(name = "CREATED")

Loading…
Cancel
Save