Test for all Repository done and all passed

This commit is contained in:
Olivier PARPAILLON
2025-07-10 12:27:01 +02:00
parent 5d79781c76
commit 5ef3f25372
11 changed files with 291 additions and 11 deletions

View File

@@ -27,11 +27,11 @@ public class Location {
@Column(name = "LOCATION_END_DATE")
private Date endDate;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(name = "CLIENT_ID", nullable = false)
private Client client;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
@JoinColumn(name = "GAME_ID", nullable = false)
private Stock stock;
}