ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Chien <john.ch...@ncmail.net>
Subject Re: SQLException
Date Thu, 03 Jul 2008 19:32:23 GMT
Thanks. I found that is DatabaseAccessException.

Chris O'Connell wrote:
> Are you using Spring?  The Spring SqlMapClientTemplate converts all those
> SQLExceptions into a runtime exception, so your IDE won't see any exception
> that you need to 'catch'.
>
> -----Original Message-----
> From: John Chien [mailto:john.chien@ncmail.net] 
> Sent: Thursday, July 03, 2008 1:33 PM
> To: user-java@ibatis.apache.org
> Subject: SQLException
>
> According to the IBatis Developer Guide, the insert(), update()  ... etc
> will throw SQLException.
>
> However, when I use try and catch block to catch the SQLException, I was
> told that the exception never throws.
>
> What is the real exception throws from those statement ?
>
> Thanks,
>
> John Chien
>
>
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.134 / Virus Database: 270.4.4/1531 - Release Date: 7/2/2008
> 7:02 PM
>
>   

Mime
View raw message