Menu

#5 SQLExceptions should be rethrown with more info

open
nobody
5
2008-11-09
2008-11-09
Anonymous
No

The SQLException created by the database driver are usually not very informative, as they generally lack information about the query string and bind variables.

Commons DBUtils therefore rethrows these exceptions wrapped with extra information.

core.sql should also use this approach.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB