getDriverMajorVersion()
Returns JDBC driver's major version number (int).
Syntax
getDriverMajorVersion()