RE: [JBoss-dev] jdbc connection pool exception handling

2006-03-11 Thread Steve Ebersole
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

[JBoss-dev] jdbc connection pool exception handling

2006-03-10 Thread Bill Burke
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

Re: [JBoss-dev] jdbc connection pool exception handling

2006-03-10 Thread Max Rydahl Andersen
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