[jboss-user] [EJB 3.0] - Re: How to access a join table column?!
abl
do-not-reply at jboss.com
Tue Jul 25 03:19:47 EDT 2006
you have to define the join table yourselve as entity - something like:
@Entity
| public class PartnerToRate ...
| {
| int partnerId;
| int rateOptionId
| boolean default;
|
| ...
| }
and use "mappedBy" attribute. this way we defined all our ManyToMany relations cause it's more flexible and extensible.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960597#3960597
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960597
More information about the jboss-user
mailing list