Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.4
-
Fix Version/s: 1.2.4
-
Component/s: Documentation, Persistence
-
Labels:None
Description
When using a join in a findAll query for a domain class, it should, according to the documentation, return only domain classes ("Finds all of the domain class instances for the specified query"). However, when using a join in the query, an object array is returned instead of the domain class.
When trying to 'fix' this behaviour by doing a "select p from Person", I got an invalid query exception, so the only alternative I have is to use the executeQuery method. This is fine, but I'd rather have the findAll return only the correct domain classes, as in the documentation, or update the documentation to reflect the join behaviour.
Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase