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 TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) int
int
getPropertyInfo
(String url, Properties info) boolean
void
setupConnect
(Connection aConnection) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.Driver
getParentLogger
-
Field Details
-
myDriver
-
-
Constructor Details
-
MockDriver
public MockDriver()
-
-
Method Details
-
setupConnect
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
-
connect
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceDriver
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliant
in interfaceDriver
-