Bug #72 (closed)
Opened 18 years ago
Closed 18 years ago
findByQuery(HQLString,...) is "broken as designed"
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
The query:
findByQuery( "select i from Image i where i.id = 1" , null)
should return an IObject, but returns a List which produces a ClassCastException?. Ouch.
Change History (3)
comment:1 Changed 18 years ago by jmoore
- Priority changed from minor to critical
comment:2 Changed 18 years ago by jmoore
comment:3 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Woops. Now it's closed!
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
findByQuery now automatically calls Filter#unique() which for StringQueries? returns a single instance. Fixed in r661. Closing but #83 must also be finished.