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:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 1:33 PM To: [email 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
