Saturday 25 August 2012

List of Exceptions in JDBC API

1) BatchUpdateException:-An exception thrown when an error occurs during a batch update operation.
2) DataTruncation:-An exception that reports a DataTruncation warning (on reads) or throws a DataTruncation exception (on writes) when JDBC unexpectedly truncates a data value.
3) SQLException:-An exception that provides information on a database access error or other errors.
4) SQLWarning:-An exception that provides information on database access warnings.

No comments:

Post a Comment