public boolean isDriverCompatible ( String driverName , DriverVersion minVersion , DriverVersion maxVersion ) throws SQLException { readMetaDataIfNeeded ( ) ; if ( ! this . driverName . equals ( driverName ) ) { return false ; } return new VersionRange ( minVersion , maxVersion ) . isWithinRange ( this . driverVersion ) ; }
Compares JDBC driver name and version information to that reported by the driver .