getDatabaseMajorVersion()

Syntax:

int getDatabaseMajorVersion()
                            throws SQLException

Description:

Retrieves the major version number of the underlying database.

Returns:

the underlying database's major version

Throws:

SQLException - if a database access error occurs