hi
I developed some entity beans .
in which one field is a primary key , but in database
it is an auto increment field .
SO, what i did i wrote a trigger which update my id after each insert .
But in ejbpost create , after crating an entity bean with the id=0 ,
Getting new id from database and assinging the new id to the entiy bean (CMP)
when i try to find out the bean with primary key(0) (by findByPrimaryKey())
i am getting the exception ObjectNotFoundException.
Before assining the new primary Key (id)
how the primary key(id) is changing ??
Thanks
-Ritesh
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".