com.mockobjects.sql

Class MockDriver

Implemented Interfaces:
Driver

public class MockDriver
extends java.lang.Object
implements Driver

Field Summary

static MockDriver
myDriver

Method Summary

boolean
acceptsURL(String url)
Connection
connect(String url, Properties info)
int
getMajorVersion()
int
getMinorVersion()
DriverPropertyInfo[]
getPropertyInfo(String url, Properties info)
boolean
jdbcCompliant()
void
setupConnect(Connection aConnection)

Field Details

myDriver

public static MockDriver myDriver

Method Details

acceptsURL

public boolean acceptsURL(String url)

connect

public Connection connect(String url,
                          Properties info)

getMajorVersion

public int getMajorVersion()

getMinorVersion

public int getMinorVersion()

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)

jdbcCompliant

public boolean jdbcCompliant()

setupConnect

public void setupConnect(Connection aConnection)

Copyright © 2002 Mock Objects. All Rights Reserved.