Catching java.sql.SQLException: ORA-00001: unique constraint
Can you explain me how the catch a unique constraint SQL exception from a session stateless bean that manipulates entities trought the persistance context.
I would like to inform my remote client that the EJBException is due to an SQL error and providing the error code.
At the moment, my session bean is not informed that an SQL exception occured.
Thank you in advance for your help.