-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: duplicate component attributes - bug or misconfigure?
PostPosted: Wed Jun 09, 2004 3:36 pm 
Newbie

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 09, 2004 6:25 pm 
Newbie

Joined: Mon Mar 08, 2004 2:24 pm
Posts: 13
Location: Tampa, FL, USA
Resolved... mapping issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.