Issue Details (XML | Word | Printable)

Key: NUCRDBMS-546
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store RDBMS

ResultClassROF when created for candidate will fail with NPE except when using Object[] result class

Created: 16/Jul/11 09:31 AM   Updated: 01/Aug/11 05:13 PM   Resolved: 16/Jul/11 09:32 AM
Component/s: Queries
Affects Version/s: 1.1.6, 2.0.5, 2.1.4, 2.2.4, 3.0.0.m6
Fix Version/s: 3.0.0.release


 Description  « Hide
The particular constructor for having a result class but no result clause will only pass in the statement mappings but no field names. The latter code depends on having field names and field types (except when having result class of Object[]), so we need to generate them from the statement mappings

Andy Jefferson added a comment - 16/Jul/11 09:32 AM
SVN trunk fixes this for all cases tried.

Andy Jefferson made changes - 16/Jul/11 09:32 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Aug/11 05:13 PM
Status Resolved [ 5 ] Closed [ 6 ]