Hi!

Alexander ten Bruggencate wrote:
> 
> I'm having trouble creating and instance of my homemade PersonBean.
> The problem is that i want cmp to instanciate the primary key.
> 
> All i want to do is call ejbCreate(), i think my xml files are set up
> correctly it's just that i don't have examples how _exactly_ my bean
> constructor should look like.

You are in charge of creating id's. The ejbCreate() method must have the
same parameters as the create() method in the home interface.

/Rickard

-- 
Rickard Öberg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to