Правка БД.
This commit is contained in:
parent
b4e48f5c5e
commit
bb13048f43
@ -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(){ }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user