-->
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.  [ 1 post ] 
Author Message
 Post subject: How to add "owner" attribute when owner class vari
PostPosted: Mon Mar 09, 2009 2:32 pm 
Newbie

Joined: Wed Apr 04, 2007 1:56 pm
Posts: 5
Location: Boston Area
I am adding a new feature to legacy code (i.e. I can't make large changes to old tables, especially no primary key changes). I am adding a Set of 'NewAttribute' items to several non-associated legacy classes which are represented in separate tables. I want these 'NewAttribute' items to live in a single database table and have an Owner attribute which maps back to the owning class. I'm not sure how to map this. I see that there is an <ANY> keyword, but after reading everything I can about his keyword, I am still unclear how this gets represented in the database.

Can anyone point me to an example which might help?

Ilane


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

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.