{"id":1333,"date":"2021-12-17T15:25:19","date_gmt":"2021-12-17T10:25:19","guid":{"rendered":"https:\/\/www.katebeckinsalegallery.com\/?p=1333"},"modified":"2021-12-27T15:33:02","modified_gmt":"2021-12-27T10:33:02","slug":"criteria-jpa-2-join-many-to-many-unidirectional-realtion","status":"publish","type":"post","link":"https:\/\/www.katebeckinsalegallery.com\/criteria-jpa-2-join-many-to-many-unidirectional-realtion\/","title":{"rendered":"Criteria JPA 2 join many to many unidirectional realtion"},"content":{"rendered":"
I have two entities, Movie and Genre, with a many to many relationship from genre to movie. Genre being the “parent” of the relationship.
\nThis generates three tables:\u00a0genre<\/code>,\u00a0
movie<\/code>\u00a0and\u00a0
genre_movie<\/code><\/p>\n