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)

Key: NUCCORE-649
Type: New Feature New Feature
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 Core

Support use of base classes that are not instantiable and have no primary key fields (JPA MappedSuperclass)

Created: 18/Feb/11 01:16 PM   Updated: 07/Mar/11 05:34 PM   Resolved: 18/Feb/11 06:46 PM
Component/s: MetaData, Persistence
Affects Version/s: None
Fix Version/s: 3.0.0.m2

 Description  « Hide
We currently insist on PK fields being in the root persistable. With some JPA usage people may want to have a MappedSuperclass with no PK fields and define them further down, in the root *concrete* class.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 18/Feb/11 06:46 PM
SVN trunk now has the concept in metadata of a class being "instantiable", and has convenience methods to return the root instantiable class in an inheritance tree etc.