Issue Details (XML | Word | Printable)

Key: NUCAPIJDO-35
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus API JDO

Typesafe query returning single field gives ClassCastException in casting to Object[]

Created: 24/Jun/12 10:01 AM   Updated: 09/Jul/12 12:38 PM   Resolved: 24/Jun/12 10:10 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.0.m3


 Description  « Hide
The internal query result will be Object or List<Object> if there is a single result. The typesafe API assumes this will be Object[] or List<Object[]>

Andy Jefferson added a comment - 24/Jun/12 10:10 AM
SVN trunk adds two more methods on TypesafeQuery where we have a single result expression

Andy Jefferson made changes - 24/Jun/12 10:10 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.0.m3 [ 11610 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 09/Jul/12 12:38 PM
Status Resolved [ 5 ] Closed [ 6 ]