ManyToMany Association + Repository
HannahJSwystun opened this issue · 2 comments
HannahJSwystun commented
Hello,
Would you like please to show us how to add a ManyToMany association in Ebean 4.0.0 ++ with repository (Update / Delete) ?
This is an example of my model :
@Entity
public class Sysuser extends BaseModel {
@Constraints.Required
public String username;
@ManyToMany(cascade=CascadeType.ALL)
public List<Role> roles;
Thank you in advance
ignasi35 commented
Hi @HannahJSwystun,
this is an issue tracker. If you are looking for help, I suggest you ask in our discourse community. See for example this similar topic: https://discuss.lightbend.com/t/looking-for-sample-with-manytomany-repository-completion-stage/6532
Cheers,
HannahJSwystun commented
Hello,
I've been looking so long of an example that cover @manytomany in Repository but i did not find!!