Introduction In this article, we are going to see how we can fetch multiple to-many relationships with jOOQ MULTISET so that we avoid bumping into an unintentional Cartesian Product. The approach taken by jOOQ is truly revolutionary since it offers a solution that allows you to fetch multiple to-many relationships using a single type-safe query. Domain Model Let’s assume that we have the following database tables: The POST table has a one-to-many relationship with the POST_COMMENT table and a many-to-many relationship with the TAG table. The POST_COMMENT table has a one-to-many relationship... Read More
The post How to fetch multiple to-many relationships with jOOQ MULTISET appeared first on Vlad Mihalcea.