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-541
Type: Bug Bug
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

JPA root strategy of "JOINED" and subclass with no inheritance defined but with discriminator causes incorrect schema

Created: 04/Jun/10 11:28 AM   Updated: 11/Jun/10 01:38 PM   Resolved: 04/Jun/10 11:40 AM
Component/s: MetaData
Affects Version/s: 2.0.4, 2.1.0.m1, 2.1.0.m2, 2.1.0.m3
Fix Version/s: 2.1.0.release

 Description  « Hide
If we have a Base class defined with inheritance of JOINED and with a discriminator column+value, and then we have Sub class defined with a discriminator value, then the schema generated has no table for the subclass. It fails to use the root strategy for the whole tree when determining the inheritance strategy for the subclass.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 04/Jun/10 11:40 AM
SVN trunk has this fixed