Hi,
Is it possible to create a many to many relationship between 2 EJBs, with a relation table that has more fields than the 2 PK ?

eg :
USERS / MATCHES
Users can bet on matches, and matches can have several users. I'd like to add several fields in the relation table between Users and Matches (Bets), likes points, score, etc ...

Is it possible to do this automatically or not with XDoclet ?
Or must I have two 1-n relationship with my own created Bets EJB ?

I work with JBoss 3.2.3 & JBoss-IDE (XDoclet core 1.2.3)
Thanks for any answers
 
Stéphane

Reply via email to