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]

Reply via email to