I have the following structure:
a contract, has several additives
so I have my contract class and my additive class
In the contract class, I call it:
@OneToMany(mappedBy = "contrato", fetch = FetchType.EAGER, cascade = CascadeType.ALL)
priv...
asked by
19.05.2017 / 18:28