8.6.36 getJDBCMajorVersion()
- Organization of this subsection
(1) Function
This method acquires the driver's JDBC major version.
(2) Format
public synchronized int getJDBCMajorVersion() throws SQLException
(3) Arguments
None.
(4) Return value
The method returns the JDBC major version. A value of 4 is returned.
(5) Exceptions
If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.