Issue Details (XML | Word | Printable)

Key: NUCRDBMS-584
Type: Task Task
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

Support inheritance check on input identity for abstract base class where we have multiple possible subclasses

Created: 21/Mar/12 02:53 PM   Updated: 04/Apr/12 05:31 PM   Resolved: 21/Mar/12 02:56 PM
Component/s: ORM, Queries
Affects Version/s: None
Fix Version/s: 3.1.0.m2


 Description  « Hide
If the user has an inheritance tree like

A (abstract, subclass-table)

B1 extends A (new-table)

B2 extends A (new-table)

and the user calls
pm.getObjectById(pm.newObjectIdInstance(A.class, value));

this results in an exception since the code is not set up for that situation - need a single root table currently

Andy Jefferson added a comment - 21/Mar/12 02:56 PM
SVN trunk has this

Andy Jefferson made changes - 21/Mar/12 02:56 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 04/Apr/12 05:31 PM
Status Resolved [ 5 ] Closed [ 6 ]