ver3
This commit is contained in:
@@ -39,11 +39,11 @@ public class Event implements Serializable {
|
||||
@Column(name = "cost", precision = 21, scale = 2)
|
||||
private BigDecimal cost;
|
||||
|
||||
@Lob
|
||||
// @Lob
|
||||
@Column(name = "comment")
|
||||
private String comment;
|
||||
|
||||
@OneToMany(fetch = FetchType.LAZY, mappedBy = "event")
|
||||
@OneToMany(fetch = FetchType.EAGER, mappedBy = "event")
|
||||
@JsonIgnoreProperties(value = { "user", "event" }, allowSetters = true)
|
||||
private Set<Registration> registrations = new HashSet<>();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public class Registration implements Serializable {
|
||||
@Column(name = "player_name")
|
||||
private String playerName;
|
||||
|
||||
@Lob
|
||||
// @Lob
|
||||
@Column(name = "comment")
|
||||
private String comment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user