javaworld

Letters to the Editor

"Eliminate JDBC Overhead" Ryan DaigleWrapping exceptions isn't wiseRyan, Your code features the following comment://Close out the statement only. The connection will be closed by the //caller. If the above is a rule, then you shouldn't close out the connection even if a SQLException is thrown. Also, wrapping the exception isn't a great idea either, especially if you don't include the original SQLException object for exception...