Hi all,
Many thanks for the answers...
I've finally created a third entity.
Stephane
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836879#3836879
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836879
Hi,
I'm not sure this is the right forum for this question, this forum is for jboss
development.
But the answer is:
If you third table has extra infos (means fields), it must be declared as a separate
entity bean for theses fields. But there is no restriction to use this table as a
third table
If I am right [carefully, bax, carefully], what you mean is a sometimes called 'weak
entity': an attributed relationship or dependend entity.
I would suggest to dissolve this into one n:1 and one 1:n relation with a third
table. This is often used in delivery notes with the delivery date.
It
Ohhh, sorry for not beeing in your taxonomy: One User has one or no or many
Bets,exactly one or many Bets are for one and only one Match.
So the third table should be 'Bets'.
Let's test it the other way around: One Match has no or many Bets,Exactly one or
many Bets are taken by one and only