getJDBCMajorVersion()

Syntax:

int getJDBCMajorVersion()
                        throws SQLException

Description:

Retrieves the major JDBC version number for this driver.

Returns:

JDBC version major number

Throws:

SQLException - if a database access error occurs