Hi,
This is Ramu, i am having a problem with many to many mapping. i am havig
two tables vendor and skills(many - to many).
Vendor pojo class:
private Collection skills = new ArrayList();
@ManyToMany()
@JoinTable(name = "VENDORSKILLS")
getter and setter follows............
.........................
Skill pojo class
private Collection vendors = new ArrayList();
@ManyToMany(mappedBy="skills",cascade={CascadeType.ALL})
getter and setter follows............
.........................
Now join table VENDORSKILLS is having colums like vendor_Id and skill_Id
Now I want to have one extra column like skilllevel .How to create skilllevel
column in join table VENDORSKILLS .
And how to persist it.
Thanks&Regards
K.Ramu
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219715#4219715
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219715
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user