Issue Details (XML | Word | Printable)

Key: RDBMS-6
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Jose Juan Escudero
Votes: 0
Watchers: 0
Operations

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

Ability to share columns with compoundIdentity relationships

Created: 04/Jul/07 11:51 AM   Updated: Thursday 02:51 PM   Resolved: 28/Nov/10 02:45 PM
Component/s: ORM
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Zip Archive JPOX_TEST.zip (12 kB)


Forum Thread URL: http://www.jpox.org/servlet/forum/viewthread?thread=4441
Datastore: IBM DB2


 Description  « Hide
Wen valid a class containing two or more fields with the same column send a DuplicateColumnException.

Class A{
    a1
}

Class B1{
   A a1
   b11
}

Class B2{
   A a1
   b21
}

Class C{
   B1 a1 b11
   B2 a1 b21
}
The problem is whit the column a1 in C class. This column is part of the primarykey of the class B1 and B2.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 03/Dec/07 12:50 PM
See RDBMS-43 for the same thing, but with a simpler testcase

Andy Jefferson added a comment - 28/Nov/10 02:45 PM
DN 2.x allows reuse of columns