Example usage for org.springframework.jdbc.support SQLExceptionTranslator interface-usage

List of usage examples for org.springframework.jdbc.support SQLExceptionTranslator interface-usage

Introduction

In this page you can find the example usage for org.springframework.jdbc.support SQLExceptionTranslator interface-usage.

Usage

From source file org.springframework.jdbc.support.SQLExceptionSubclassTranslator.java

/**
 * {@link org.springframework.jdbc.support.SQLExceptionTranslator} implementation that analyzes the {@link java.sql.SQLException}
 * subclass that was returned.  This is only available with JDBC 4.0 and later drivers when using Java 6 or later.
 *
 * @author Thomas Risberg
 * @since 2.5

From source file org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.java

/**
 * Base class for {@link SQLExceptionTranslator} implementations that allow for
 * fallback to some other {@link SQLExceptionTranslator}.
 *
 * @author Juergen Hoeller
 * @since 2.5.6

From source file org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.java

/**
 * Implementation of SQLExceptionTranslator that analyzes the SQL state
 * in the SQLException.
 *
 * <p>Not able to diagnose all problems, but is portable between databases and
 * does need require special initialization (no database vendor detection etc).

From source file org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.java

/**
 * Implementation of SQLExceptionTranslator that uses specific vendor codes.
 * More precise than SQL state implementation, but vendor-specific.
 *
 * <p>This class applies the following matching rules:
 * <ul>