getDriverMajorVersion()
Returns the JDBC driver's major version number as an integer value.
Syntax
getDriverMajorVersion()