grails « Join « JPA Q&A

1. Hibernate HQL: two levels of joins

I am new to HQL and have the following table relationships:

  • Term has many Definitions
  • Definition has many DefinitionProducts
  • DefinitionProducts has one Product
I want to get the list of Terms that have at least ...

2. Grails - Hibernate Join Element

I have a legacy database that has a Hibernate join in it:

<join table="events_sub_seasons"