This is actually part of the JDBC4 spec too...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max
Rydahl Andersen
Sent: Friday, March 10, 2006 4:59 PM
To: jboss-development@lists.sourceforge.net; Weston Price
Subject: Re: [JBoss-dev] jdbc connection pool exception handling

On Fri, 10 Mar 2006 17:31:21 +0100, Bill Burke <[EMAIL PROTECTED]> wrote:

> Spring has a nice feature to take a SQLException and turn it into a
more  
> concrete exception based on a hierarchy.  I.e.
SQLException.errorNumber  
> might be deadlock and it then converts it to a DeadlockException that

> inherits from SQLException (at least I think that's how it works).
>
> The idea would be to build this into our JCA Connection Pools.
Refactor  
> our JCA Connection Pools to work in any appserver, and we have a nice

> little project.

something like SQLExceptionConverter in Hibernate 3 ?


-- 
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to