View RSS Feed

Java Database

  1. Overview of SQLException

    by , 03-10-2012 at 08:57 AM
    Opposed to Exception, SQL Exception’s instance is thrown when an error occurs with JDBC while doing communication with data source. Data source is the database presentation to which connection is been made to an application.

    Error’s root cause is determined by the useful information that is given in SQLException.

    • An error’s description: Method SQLException.getMessage() returns the string, which details the error.
    • A SQL state code. Codes are ISO/ANSI standardized.
    ...
    Tags: sqlexception Add / Edit Tags
    Categories
    JDBC