I'm having a problem with JPA when it comes to making a query.
I want to query Entity A that has a% of Entity% B and% of Entity% C (I want to query Entity A by bringing Entities B and C into the same List
). >
When I try to execute this query the multiple bags exception is thrown.
Is there any way to do this query without having to use List
, query
or change @IndexColumn
to Fetch.EAGER
? (Solutions I found on the internet)
NOTE: I did not put the code here because I just want to know if there is an alternative other than the one I mentioned earlier.