The setFetchMode in DetachedCriteria takes “String associationPath” as an argument. I couldnt find what it is. Do i need to send the other entity name or table name or any other value for this argument? I tried calling with a random value, it didnt throw any exception.
Thanks.
It is path to the persistent attribute, exactly as with normal Criteria.
For example: