Hitachi

Hitachi Advanced Database Application Development Guide


8.6.72 getSQLStateType()

Organization of this subsection

(1) Function

This method acquires a value indicating whether SQLSTATE returned by the getSQLState method of the SQLException class is an X/Open (currently Open Group) SQL CLI or SQL:2003.

(2) Format

public synchronized int getSQLStateType() throws SQLException

(3) Arguments

None.

(4) Return value

This method always returns sqlStateSQL.

(5) Exceptions

If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.