Issue Details (XML | Word | Printable)

Key: JDO-167
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Watzek
Reporter: Michael Watzek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Inheritance mapping 2 needs to be changed to support polymorphic relationships to Employees

Created: 05/Oct/05 12:37 AM   Updated: 09/Dec/05 12:37 AM
Return to search
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-167.patch 2005-12-08 12:23 AM Michael Watzek 20 kB
File Licensed for inclusion in ASF works JDO-167.patch2 2005-12-08 07:54 PM Michael Watzek 20 kB

Resolution Date: 09/Dec/05 12:37 AM


 Description  « Hide
Inheritance mapping 2 is incomplete wrt Employee relationships. Due to this lack, implementations cannot figure out the right runtime type at navigation time, e.g. navigating from Project to Employee.

In t-conference, Sep 30, Craig proposed to drop the identity propties from PK columns of tables persons, fulltimeemployees, parttimeemployees. Instead, we introduce implementation-defined sequences to generate unique key values for all instances of the Person class hierarchy. Having unique PK values for each row in the hierarchy, implementations are able to find out the right runtime type when navigating Employee relationships.

We need to adapt the schema and the ORM metadata in order to reflect these changes.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michael Watzek made changes - 08/Dec/05 12:23 AM
Field Original Value New Value
Attachment JDO-167.patch [ 12321201 ]
Michael Watzek made changes - 08/Dec/05 07:54 PM
Attachment JDO-167.patch2 [ 12321225 ]
Michael Watzek made changes - 09/Dec/05 12:37 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]