Joined: Mon Mar 08, 2004 2:24 pm Posts: 13 Location: Tampa, FL, USA
|
I have a class that contains a component object (5 attributes). One of the attributes, "branch", is also part of composite-id component (3 columns) used as a foreign key into another table (many-to-one relationship). P.S. - this is a legacy database.
I am getting a "duplicate column name" error from Oracle when doing updates. In looking at the generated SQL, the BRANCH column is indeed listed twice (once for each of the components).
Although I use one of my components as a composite-id, I think this question may relate directly to components. Is is possible to have the same attribute listed in multiple components?
Thanks,
John
|
|