java.lang.Object
com.mockobjects.eziba.sql.Driver
- All Implemented Interfaces:
- java.sql.Driver
- public class Driver
- extends java.lang.Object
- implements java.sql.Driver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Driver
public Driver()
acceptsURL
public boolean acceptsURL(java.lang.String p_url)
- Description copied from interface:
java.sql.Driver
- This method tests whether or not the driver believes it can connect to
the specified database. The driver should only test whether it
understands and accepts the URL. It should not necessarily attempt to
probe the database for a connection.
- Specified by:
acceptsURL in interface java.sql.Driver
connect
public java.sql.Connection connect(java.lang.String p_url,
java.util.Properties p_props)
- Description copied from interface:
java.sql.Driver
- This method connects to the specified database using the connection
properties supplied. If the driver does not understand the database
URL, it should return
null instead of throwing an
exception since the DriverManager will probe a driver
in this manner.
- Specified by:
connect in interface java.sql.Driver
getMajorVersion
public int getMajorVersion()
- Description copied from interface:
java.sql.Driver
- This method returns the major version number of the driver.
- Specified by:
getMajorVersion in interface java.sql.Driver
getMinorVersion
public int getMinorVersion()
- Description copied from interface:
java.sql.Driver
- This method returns the minor version number of the driver.
- Specified by:
getMinorVersion in interface java.sql.Driver
getPropertyInfo
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String p_url,
java.util.Properties p_props)
- Description copied from interface:
java.sql.Driver
- This method returns an array of possible properties that could be
used to connect to the specified database.
- Specified by:
getPropertyInfo in interface java.sql.Driver
jdbcCompliant
public boolean jdbcCompliant()
- Description copied from interface:
java.sql.Driver
- This method tests whether or not the driver is JDBC compliant. This
method should only return
true if the driver has been
certified as JDBC compliant.
- Specified by:
jdbcCompliant in interface java.sql.Driver
createConnection
public static Connection createConnection()