Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #767 (closed)

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

[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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63282 sec.)

We're Hiring!