Christian,
     as far as I know you will have to use Bean Manage Persistance for this bean.


---------- Original Message ----------------------------------
From: "Christian Bourque" <[EMAIL PROTECTED]>
Reply-To: "jBoss" <[EMAIL PROTECTED]>
Date: Wed, 27 Sep 2000 11:50:00  -0500

>Hi !
>
>I want my ejb to use an automatically generated primary key. So when i 
>call create in the home interface, i dont want to pass in the primary 
>key, i want the container to automatically fill this in (such as an 
>auto-increment column in MS-SQL or a sequence in oracle).
>
>Is there any way to make a CMP entity EJB use a automatic value as its 
>primary key, so that in the create method you dont have to pass it the 
>primary key value ?
>
>If anyone has any idea I would really appreciate !
>
>Christian
>
>
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>
>

--



Rolando Rivera 
CYMSoft Chief Architect




--


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

Reply via email to