I need help on creating hibernate criteria for nested object. For example :
class office{ Integer id; OfficeDetails cmdData ; } class OfficeDetails {
See "querying associations" under the criteria section of the user guide:
def criteria = { cmdData { region { eq('regionNum', regionNumber) } } }