Issue Details (XML | Word | Printable)

Key: CORE-3110
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JPOX Core (ARCHIVED)

Specify subclass with <inheritance> but without the strategy doesnt apply JDO2 default inheritance

Created: 13/Dec/06 01:29 PM   Updated: 24/Jan/07 09:29 AM   Resolved: 13/Dec/06 01:54 PM
Component/s: JDO
Affects Version/s: 1.1.5
Fix Version/s: 1.1.6, 1.2.0-beta-1


 Description  « Hide
When we have
class A
{
    ...
}
class B extends A
{
    ...
}
and we define MetaData as
<class name="A">
    <inheritance>
        <discriminator strategy="value-map"/>
    </inheritance>
</class>
<class name="B">
    <inheritance>
        <discriminator value="B"/>
    </inheritance>
</class>

The inheritance strategy chosen internally for B is "new-table" which is wrong by JDO2 spec - should be "superclass-table"

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 13/Dec/06 01:54 PM
Fixed in CVS