Java Mailing List Archive

http://www.java2.5341.com/

Home » user-java.ibatis »

Re: SQLException

John Chien

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply
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@(protected)]
> Sent: Thursday, July 03, 2008 1:33 PM
> To: user-java@(protected)
> 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
>
>  

Attachment: john_chien.vcf (zipped)
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.