Example usage for java.sql DatabaseMetaData sqlStateSQL

List of usage examples for java.sql DatabaseMetaData sqlStateSQL

Introduction

In this page you can find the example usage for java.sql DatabaseMetaData sqlStateSQL.

Prototype

int sqlStateSQL

To view the source code for java.sql DatabaseMetaData sqlStateSQL.

Click Source Link

Document

A possible return value for the method DatabaseMetaData.getSQLStateType which is used to indicate whether the value returned by the method SQLException.getSQLState is an SQLSTATE value.

Usage

From source file:net.starschema.clouddb.jdbc.BQDatabaseMetadata.java

/**
 * <p>//from   w  ww .j  a  va  2  s.c om
 * <h1>Implementation Details:</h1><br>
 * Returns DatabaseMetaData.sqlStateSQL
 * </p>
 */
@Override
public int getSQLStateType() throws SQLException {
    return DatabaseMetaData.sqlStateSQL;
}