Bug #767 (closed)
[Hibernate] 'illegal attempt to dereference collection'
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Cc: | cxallan |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
This error message will arise starting with the Hibernate upgrade to 3.2.5.ga as outlined in the Hibernate migration guide. Queries of the form:
select p from Pixels p where p.planeInfo.id = :id"
will fail since planeInfo is a collection and has no "id" property. The proper query is:
select pi.pixels from PlaneInfo pi where pi.id = :id"
See:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2667
Change History (2)
comment:1 Changed 17 years ago by jmoore
- Keywords set to iteration1
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 17 years ago by jmoore
- Milestone changed from 3.0-Beta3 to 3.0-Beta2.2
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.