Hi everyone,
Can one specify another EJB Entity object as part of the primary key for one
ejb?
Here is a imaginary example:
TreeEJB has a one to many relationship to AppleEJB
And I have a primary key for AppleEJB which contains TreeEJB and a AppleID
In my application when I tried to do something similar to the figurative
example above I got:
Apple_ORSet295.java:294: Exception java.rmi.RemoteException must be caught,
or it must be declared in the throws clause of this method.
I can't quite model this as a dependent relationship because I might be
refering this AppleEJB from other EJB.
Now my question: is this a bug or is it something I should not be doing? how
else could I model that an apple must be unique within its tree?
suggestions?
Thanks,
Christian