JavaXT
|
|||
Driver ClassUsed to encapsulate basic driver information used to create a database connection.
ConstructorsPropertiesFrontBase
Informix
Cache
Mimer
MySQL
Teradata
Pervasive
Pointbase
Daffodil
JTDS
Oracle
Firebird
HyperSQL
ODBC
Public MethodsgetProtocol( ) returns String Returns the url protocol used in the jdbc connection string (e.g. jdbc:sqlserver, jdbc:db2, jdbc:sybase, jdbc:postgresql, jdbc:derby). getClassName( ) returns String Returns the class name used to create a new java.sql.Driver (e.g. com.microsoft.sqlserver.jdbc.SQLServerDriver). getVendor( ) returns String Returns the name the database/vendor (e.g. SQLServer, DB2, Sybase, etc.) load( ) returns java.sql.Driver Used to create a new instance of a java.sql.Driver that corresponds to the driver class specified in the constructor. equals( Object obj ) returns boolean Used to compare drivers by class, protocol, and vendor.
Static MethodsfindDriver( String driverName ) returns Driver Used to try to find a driver that corresponds to the vendor name, class name, or protocol. |