openjpa-users mailing list archives

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

Hi
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: http://n2.nabble.com/how-do-you-manage-db-exceptions--tp1591722p1591722.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message