Hi,
 
I am working on a project that converts an existing system to a j2ee equivalent.  The existing system has particular behaviour depending on the SQL Code of SQL errors received during an INSERT statement.  ie if the SQLCode represents a deadlock then give a message to "please try again" otherwise give them an error.
 
What is the best way to mimic this with entity beans?  Is it possible?  is it good form (or possible) to throw a SQLException from an entity bean as well as a CreateException?
 
Thanks for any ideas,
 
Steve.

Reply via email to