-->
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: many to many table
PostPosted: Thu Jun 30, 2005 5:09 am 
Beginner
Beginner

Joined: Thu Jun 30, 2005 5:07 am
Posts: 33
Hi All,

I have class PROFILE and class FEATURE. I am trying to create a many to many table using xdoclet, however I need another colum in the many to many table type varchar. How can I do so?
This is what I wrote in order to have the many to many table. What is missing?
@hibernate.bag
* table="FEATURE_PROFILE"
* cascade="all"
* inverse="true"
*
* @hibernate.collection-key
* column="PROFILE_ID"
*
*
* @hibernate.collection-many-to-many
* class="Feature"
* column="FEATURE_ID"


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.