| java.lang.Object org.apache.derbyTesting.functionTests.tests.jdbcapi.checkDataSource org.apache.derbyTesting.functionTests.tests.jdbcapi.checkDataSource30
checkDataSource30 | public class checkDataSource30 extends checkDataSource (Code) | | Extends checkDataSource to provide testing of JDBC 3.0 specific
methods for the embedded DataSource implementations.
author: djd |
Method Summary | |
public void | checkConnection(String dsName, Connection conn) | protected void | checkConnectionPreClose(String dsName, Connection conn) | public static void | checkNesConn30(String dsName) Perform connection checks on the default connection
using checkDataSourc30. | protected void | getHoldability(Connection conn) | protected String | getNestedMethodName() USe checkNesConn30 for the procedure, will
cause the 30 checks to be invoked as well. | protected CallableStatement | internalCreateFloatCallForStateChecking(Connection conn, String sql) | protected Statement | internalCreateFloatStatementForStateChecking(Connection conn) | protected PreparedStatement | internalCreateFloatStatementForStateChecking(Connection conn, String sql) | public static void | main(String[] args) | static String | rsHoldability(int type) | protected void | setHoldability(Connection conn, boolean hold) | protected void | showStatementState(String when, Statement s) | protected void | showXAException(String tag, XAException xae) | public static void | testDerby1144() Tests for DERBY-1144
This test tests that holdability, autocomit, and transactionIsolation are
reset on getConnection for PooledConnections obtaind from connectionPoolDataSources
DERBY-1134 has been filed for more comprehensive testing of client connection state. | public static String | translateHoldability(int holdability) Translate holdability int readable format.
Parameters: holdability - holdability to translate. |
checkDataSource30 | public checkDataSource30()(Code) | | |
checkNesConn30 | public static void checkNesConn30(String dsName) throws SQLException(Code) | | Perform connection checks on the default connection
using checkDataSourc30.
|
getNestedMethodName | protected String getNestedMethodName()(Code) | | USe checkNesConn30 for the procedure, will
cause the 30 checks to be invoked as well.
|
testDerby1144 | public static void testDerby1144() throws SQLException(Code) | | Tests for DERBY-1144
This test tests that holdability, autocomit, and transactionIsolation are
reset on getConnection for PooledConnections obtaind from connectionPoolDataSources
DERBY-1134 has been filed for more comprehensive testing of client connection state.
throws: SQLException - |
translateHoldability | public static String translateHoldability(int holdability)(Code) | | Translate holdability int readable format.
Parameters: holdability - holdability to translate. "HOLD_CURSORS_OVER_COMMIT" or "CLOSE_CURSORS_AT_COMMIT" |
Methods inherited from org.apache.derbyTesting.functionTests.tests.jdbcapi.checkDataSource | public void checkConnection(String dsName, Connection conn) throws SQLException(Code)(Java Doc) protected void checkConnectionPreClose(String dsName, Connection conn) throws SQLException(Code)(Java Doc) protected static void checkJBMSToString() throws Exception(Code)(Java Doc) public static void checkNesConn(String dsName) throws SQLException(Code)(Java Doc) protected void checkStatement(String dsName, Connection conn, Statement s) throws SQLException(Code)(Java Doc) protected static void checkStringFormat(PooledConnection pc) throws Exception(Code)(Java Doc) protected static void checkStringFormat(Connection conn) throws Exception(Code)(Java Doc) protected static String checkStringPrefix(Object conn) throws Exception(Code)(Java Doc) protected static void checkToString(Connection conn) throws Exception(Code)(Java Doc) protected static void checkToString(DataSource ds) throws Exception(Code)(Java Doc) protected static void checkToString(ConnectionPoolDataSource pds) throws Exception(Code)(Java Doc) protected static void checkToString(XADataSource xds) throws Exception(Code)(Java Doc) protected static void clearConnections() throws SQLException(Code)(Java Doc) protected CallableStatement createFloatCallForStateChecking(Connection conn, String sql) throws SQLException(Code)(Java Doc) protected Statement createFloatStatementForStateChecking(Connection conn) throws SQLException(Code)(Java Doc) protected PreparedStatement createFloatStatementForStateChecking(Connection conn, String sql) throws SQLException(Code)(Java Doc) protected void getHoldability(Connection conn) throws SQLException(Code)(Java Doc) protected String getNestedMethodName()(Code)(Java Doc) protected Xid getXid(int xid, byte b1, byte b2)(Code)(Java Doc) protected CallableStatement internalCreateFloatCallForStateChecking(Connection conn, String sql) throws SQLException(Code)(Java Doc) protected Statement internalCreateFloatStatementForStateChecking(Connection conn) throws SQLException(Code)(Java Doc) protected PreparedStatement internalCreateFloatStatementForStateChecking(Connection conn, String sql) throws SQLException(Code)(Java Doc) public static void main(String[] args) throws Exception(Code)(Java Doc) static String rsConcurrency(int type)(Code)(Java Doc) static String rsFetchDirection(int type)(Code)(Java Doc) static String rsType(int type)(Code)(Java Doc) protected void runTest(String[] args) throws Exception(Code)(Java Doc) protected void setHoldability(Connection conn, boolean hold) throws SQLException(Code)(Java Doc) protected void showStatementState(String when, Statement s) throws SQLException(Code)(Java Doc) protected void showXAException(String tag, XAException xae)(Code)(Java Doc) public void testJira95ds(Connection conn, String dbName) throws SQLException(Code)(Java Doc) public void testJira95xads(Connection conn, String dbName) throws SQLException(Code)(Java Doc) public static String translateIso(int iso)(Code)(Java Doc)
|
|
|