Hi, I have a ManyToMany relationship between two Entities (A and C), then our famous LazyInitializationException appears, after googling a lot, coding JPA directly, using EAGER (cannot simultaneously fetch multiple bags, sets instead of lists, ...), ... I think my best solution is to have 3 entities:
A, B and C, where B only has 2 fields (ManyToOne to A and C). It works great!
What's your opinion?
Thanks in advance.


Reply With Quote
