Test add Game, add GameType and add Game with GameType done.

This commit is contained in:
Olivier PARPAILLON
2025-07-09 11:28:00 +02:00
parent eac38d9f4b
commit 0e5748bc81
2 changed files with 50 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ public class Stock {
private String ref;
@Column(name="GAME_DAILY_PRICE", nullable = false)
private Long dailyPrice;
private Double dailyPrice;
@OneToMany(cascade = CascadeType.ALL, fetch=FetchType.EAGER, orphanRemoval = true)
@JoinColumn(name="GAME_ID")