Gene,
We have the same situation in our system. Here's how we solved the 
problem.
we have an entity, A,  whose primary key is also a foreign key to another 
entity, B.
We don't specify any relationships for A.pk. Instead, I added 
A.ejbSelectB(KeyType key).
Then I added A.getB() { return ejbSelect( getPK()); }
A.setB( B ) does not make sense, because you'd be changing the primary 
key.

Hope this helps.

Ciao,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to