Hi,
 
 
I have a CMP bean in which while inserting a record in the
table first i fired a query on the database to get the unique
id (max id + 1 ) and then insert the record in the table
using create method, now if i delete the last inserted record
using my oracle client and try to insert a new record using my
application it is giving me javax.ejb.DuplicateKeyException error.
If i restart the JOnAS server then it works properly. What might
be the problem. Is server doing the caching? How can i solve this problem.
 
 
 
Regards
Surendra
 

Reply via email to