Skip to content

Commit

Permalink
consertando a referência reuniao -> pessoa
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMarcio committed Nov 24, 2023
1 parent 5c40737 commit 9997550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Pessoa.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class Pessoa {
@Convert(converter=LowerToUpperConverter.class)
private String nome;

@ManyToMany(cascade= {CascadeType.PERSIST, CascadeType.MERGE}, fetch=FetchType.LAZY)
@ManyToMany(mappedBy = "listaDePessoas",cascade= {CascadeType.PERSIST, CascadeType.MERGE}, fetch=FetchType.LAZY)
private List<Reuniao> reunioes = new ArrayList<>();

public Pessoa (){}
Expand Down

0 comments on commit 9997550

Please sign in to comment.