• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #767 (closed defect: fixed)

Opened 16 months ago

Last modified 14 months ago

[Hibernate] 'illegal attempt to dereference collection'

Reported by: jmoore Owned by: jmoore
Priority: minor Milestone: 3.0-Beta2.2
Component: Queries Version: 3.0-M1
Keywords: iteration1 Cc: callan

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

Changed 16 months ago by jmoore

  • keywords iteration1 added
  • status changed from new to closed
  • resolution set to fixed

Changed 14 months ago by jmoore

  • milestone changed from 3.0-Beta3 to 3.0-Beta2.2
Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/