I can not figure out how to get Orion's EJB CMP to work when the primary key
is an 'int'. In the deployment descriptor (ejb-jar.xml), the code is:
prim-key-classint/prim-key-class
When starting up Orion, I get:
Class 'int' not found
Any help will be greatly appreciated,
Marc
int is not a valid primary key - it has to be an object, not a primitive.
Use Integer instead.
Nick
At 04:56 PM 10/4/01 -0400, you wrote:
I can not figure out how to get Orion's EJB CMP to work when the primary key
is an 'int'. In the deployment descriptor (ejb-jar.xml), the code is:
You need to use Integer as PK Class. PK must extend Object
Marc Rabil wrote:
I can not figure out how to get Orion's EJB CMP to work when the primary key
is an 'int'. In the deployment descriptor (ejb-jar.xml), the code is:
prim-key-classint/prim-key-class
When starting up Orion, I
User Integer...
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Marc Rabil
Sent: Thursday, October 04, 2001 1:56 PM
To: Orion-Interest
Subject: EJB Primary Key of int
I can not figure out how to get Orion's EJB CMP to work when the primary key
You will want to use Integer not int
--- Marc Rabil [EMAIL PROTECTED] wrote:
I can not figure out how to get Orion's EJB CMP to work when the primary key
is an 'int'. In the deployment descriptor (ejb-jar.xml), the code is:
prim-key-classint/prim-key-class
When starting up Orion, I