Правка БД.

This commit is contained in:
Programmist73 2023-05-26 19:53:31 +04:00
parent b4e48f5c5e
commit bb13048f43

View File

@ -22,7 +22,7 @@ public class GameClient {
@Column(name = "balance") @Column(name = "balance")
private Integer balance; private Integer balance;
@OneToMany(fetch = FetchType.EAGER) @ManyToMany(fetch = FetchType.EAGER)
private List<Tank> tanks = new ArrayList<>(); private List<Tank> tanks = new ArrayList<>();
public GameClient(){ } public GameClient(){ }