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
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,
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
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo