Hi,
it actually works, if I leave out the "mappedBy". Then JBoss seems to fiugre it out, because the primary keys have the same names.
However, what if they would be different. I filed in "id", but then I get an error message. So I guess this only works as long as the primary keys have the same name?
Is this question to simple or why nobody providing a hint?