DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Mar/12 02:56 PM
SVN trunk has this