That implements the java.io.Serializable interface...
-----Original Message-----
From: Jay Walters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 12:36 PM
To: jBoss
Subject: RE: [jBoss-User] ejbCreate return type
It can also be a user defined class containing one or more primitive types
or other classes...
-----Original Message-----
From: Prakash Raghothamachar
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 1:02 PM
To: jBoss
Subject: RE: [jBoss-User] ejbCreate return type
The return type of ejbCreate method must be of type java.lang.String or
java.lang.Integer. I guess it would be java.lang.Integer in your case. You
cannot have primitive types(like int, char, long etc) as return type.
Prakash
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Totally
Sent: Thursday, October 12, 2000 10:52 AM
To: [EMAIL PROTECTED]
Subject: [jBoss-User] ejbCreate return type
I've created my first entity bean and on deployment it comes up with the
following error:
[Verifier] debug: The return type of an ejbCreate(...) method must be the
entity bean's primary key type.
All my documentation shows a void return type for ejbCreate. I've tried
returning int (the primary key type) but the same error occurs.
Any ideas and examples would be gratefully received.
Tim.
-----------------------------------------------
Free SMS messaging ---> http://sms.totalise.net
Totalise Shop ---> http://www.totaliseshop.com
-----------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]