Package com.mockobjects.sql
Class MockDriver
java.lang.Object
com.mockobjects.sql.MockDriver
- All Implemented Interfaces:
Driver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) booleanvoidsetupConnect(Connection aConnection) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.Driver
getParentLogger
-
Field Details
-
myDriver
-
-
Constructor Details
-
MockDriver
public MockDriver()
-
-
Method Details
-
setupConnect
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver
-
connect
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-