-->
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: variable
PostPosted: Wed May 19, 2004 10:43 am 
Newbie

Joined: Wed May 19, 2004 10:15 am
Posts: 1
Hi,
I would like to create a ColorCode object that would have a variable number of codes in it.I want this object to be associated with another object called Book which has other paramters like ISBN, author etc.
My question is what would be the best way I can design this object-name ,value?
Because the ColorCode object has variable parameters in it...and i am also wondering how best I can specify the hibernate tags for it...using XDoclet....like which is primary key..id...
I am using Hibernate 2.0, weblogic 7.0 and mysql database coding using Java...
Thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2004 10:48 am 
Senior
Senior

Joined: Fri Nov 21, 2003 5:55 am
Posts: 155
Hi, you can look this url to find a first approach for relationship.
http://www.xylax.net/hibernate/


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.