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"
|
|