Skip to content

Commit

Permalink
Merge pull request #2 from AllanSmithll/eminence
Browse files Browse the repository at this point in the history
consertando a referência reuniao -> pessoa
  • Loading branch information
AllanSmithll authored Nov 24, 2023
2 parents f63d9e5 + 9997550 commit 8a8a72b
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 8a8a72b

Please sign in to comment.