openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is_maximum <>
Subject how do you manage db exceptions?
Date Sat, 29 Nov 2008 07:34:01 GMT

I am eager to know haow do you deal with Sql exceptions which are unchecked
and cannot be determined at runtime. for example, unique constraint
exception, integrity exception etc.

What I know is that all these sort of exceptions are wrapped in SQLException
but is there any way to distinguish them and create appropriate message to
the user.

I appreciate if you share your experiences on this

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message