Local interface with self defined Primary key Class doesn't work ?? (bug)

2002-03-04 Thread Eddie Post
Hello, I am using Orion 1.5.4 and am converting my entity beans to local interfaces. However, I can't convert my entity bean that has an self defined Primary Class (see below) to a local interface. Every time it gives an error: Nested exception is: javax.ejb.NoSuchObjectLocalEx

Re: problem using primary key class with orion

2001-10-12 Thread Jack C. Miller
I'm using EJBMaker 2.0, and it inserts the primkey-field in there. I figured this out this morning, everything seems to be working smoothly now. Thanks Jack > Jack, > > If you're using a user-defined primary key class, as opposed to a Java > class like String or Integer,

Re: problem using primary key class with orion

2001-10-12 Thread Jeff Hubbach
Jack, If you're using a user-defined primary key class, as opposed to a Java class like String or Integer, then you don't define the primkey-field in the ejb-jar.xml. >From p.370 of O'reilly's Enterprise JavaBeans, 2nd Edition, describing the entry in the ejb-jar.xml

RE: problem using primary key class with orion

2001-10-11 Thread Alex Paransky
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jack C. Miller Sent: Thursday, October 11, 2001 2:32 PM To: Orion-Interest Subject: problem using primary key class with orion I am having some difficulty getting orion to use my primary key class during deployment. I have an EJB AnyPerson with

problem using primary key class with orion

2001-10-11 Thread Jack C. Miller
I am having some difficulty getting orion to use my primary key class during deployment. I have an EJB AnyPerson with which I use a primary key class AnyPersonKey that has a public java.lang.String primaryKey field. During deployment, I get a compilation error that looks like the CMP isn&#

Re: Primary Key Class in CMP

2001-07-02 Thread Ray Harrison
Yes - it works just fine. Can you send a small piece of your descriptor showing how you specifiy the primary key class information? --- Timothy Tschampel <[EMAIL PROTECTED]> wrote: > Has anyone gotten CMP Beans to work with a Custom Primary Key Class. Every > time I try to depl

Primary Key Class in CMP

2001-07-02 Thread Timothy Tschampel
Has anyone gotten CMP Beans to work with a Custom Primary Key Class. Every time I try to deploy I get an error stating that there is an illegal space in my descriptor. Yet, if I use the same descriptor file and use java.lang.Integer as the primay key class it works. - Original Message

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

Re: primary key class

2000-07-27 Thread Mattias Arbin
I use: java.lang.String and it works. At least for BMP entity beans. /Mattias - Original Message - From: "Andreas Reckmann" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 4:31 PM Subject: primary key class &g

primary key class

2000-07-27 Thread Andreas Reckmann
Hi, I haven't a Primary Key class defined for my entity bean, because the table only has one primary key. How can I specify this in the ejb-jar.xml-file. ??? ... Thanks Andreas