Yes; often, there will be a nested exception available from Exception.getCause().
-Patrick On 11/29/07, Gul Onural <[EMAIL PROTECTED]> wrote: > > When a database error occurs in the openjpa, I always get rollback > exception. For example if there is an error > because of a duplicate record creation attempt, I still get rollback > exception. > > Is there a way to inspect the exception to see the root cause ? > > Gul > -- Patrick Linskey 202 669 5907
