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-708
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 Core

JPA : If have root MappedSuperclass and entity table below it with no Inheritance defined, can get error in inheritance

Created: 03/May/11 06:39 PM   Updated: 09/May/11 09:58 AM   Resolved: 03/May/11 06:40 PM
Component/s: None
Affects Version/s: 3.0.0.m3
Fix Version/s: 3.0.0.m4


 Description  « Hide
So we have
@MappedSuperclass
public abstract class MyRootClass {}

@Entity
public class MyEntity extends MyRootClass {}

then the tree will default to SINGLE_TABLE, but the (internal) inheritance strategy for MyEntity will be superclass-table since assumes that the superclass has a table with SINGLE_TABLE

Andy Jefferson added a comment - 03/May/11 06:40 PM
SVN turnk fixes this

Andy Jefferson made changes - 03/May/11 06:40 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 09/May/11 09:58 AM
Status Resolved [ 5 ] Closed [ 6 ]