| java.lang.Object org.apache.commons.dbcp.TesterDriver
TesterDriver | public class TesterDriver implements Driver(Code) | | Mock object implementing the java.sql.Driver interface.
Returns TestConnection 's from getConnection methods.
Valid username, password combinations are:
user | password |
foo | bar |
u1 | p1 |
u2 | p2 |
username | password |
author: Rodney Waldhoff author: Dirk Verbeeck version: $Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $ |
MAJOR_VERSION | protected static int MAJOR_VERSION(Code) | | |
MINOR_VERSION | protected static int MINOR_VERSION(Code) | | |
addUser | public static void addUser(String username, String password)(Code) | | TesterDriver specific method to add users to the list of valid users
|
getMajorVersion | public int getMajorVersion()(Code) | | |
getMinorVersion | public int getMinorVersion()(Code) | | |
jdbcCompliant | public boolean jdbcCompliant()(Code) | | |
|
|