tribble.sql.test
Class FakeConnection

java.lang.Object
  extended by tribble.sql.ConnectionAdapter
      extended by tribble.sql.test.FakeConnection
All Implemented Interfaces:
java.sql.Connection

 class FakeConnection
extends ConnectionAdapter

Fake JDBC connection driver class.

Source code:
Available at: http://david.tribble.com/src/java/tribble/sql/test/FakeConnection.java
Documentation:
Available at: http://david.tribble.com/docs/tribble/sql/test/FakeConnection.html

Since:
2008-09-04
Version:
@(#)$Revision: 1.2 $ $Date: 2008/09/06 18:42:06 $
Author:
David R. Tribble (david@tribble.com)

Copyright ©2008 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated by by the United States Department of State as a terrorist, or terrorist government or agency, to use and distribute this source code provided that the original copyright notice remains present and unaltered.

See Also:
Test1, FakeStatement

Field Summary
(package private) static java.lang.String REV
           
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Constructor Summary
FakeConnection()
          Constructor.
 
Method Summary
 java.sql.Statement createStatement()
           
 
Methods inherited from class tribble.sql.ConnectionAdapter
clearWarnings, close, commit, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getObject, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REV

static final java.lang.String REV
See Also:
Constant Field Values
Constructor Detail

FakeConnection

FakeConnection()
Constructor.

Since:
1.2, 2008-09-02
Method Detail

createStatement

public java.sql.Statement createStatement()
                                   throws java.sql.SQLException
Specified by:
createStatement in interface java.sql.Connection
Overrides:
createStatement in class ConnectionAdapter
Throws:
java.sql.SQLException