RE: Using another EJB as part of the Primary Key Class

2001-03-14 Thread Jeff Schnitzer
ilto:[EMAIL PROTECTED]] >Sent: Tuesday, March 13, 2001 1:39 PM >To: Orion-Interest >Subject: Using another EJB as part of the Primary Key Class > > >Hi everyone, > >Can one specify another EJB Entity object as part of the >primary key for one >ejb? > >Here is

RE: Using another EJB as part of the Primary Key Class

2001-03-14 Thread Frank Eggink
I don't know your code, but it looks like you forgot to handle the RemoteException at line 294 in Apple_ORSet295.java. Anyway, why use a compound key? IMHO generating a technical key has a lot of advantages and the downside that you need to handle the uniquesness of the candidate key is not tha

Using another EJB as part of the Primary Key Class

2001-03-13 Thread Christian Billen
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 someth