O'Reilly logo
  • Tom Digna thinks this is interesting:

A join is a query that combines results from multiple entities. Joins in JP QL queries are logically equivalent to SQL joins. Ultimately, once the query is translated to SQL, it is quite likely that the joins between entities will produce similar joins among the tables to which the entities are mapped. Understanding when joins occur is therefore important to writing efficient queries.


Cover of Pro JPA 2, Second Edition