org.logicalcobwebs.proxool
Class ProxyStatementTest

java.lang.Object
  extended by TestCase
      extended by org.logicalcobwebs.proxool.AbstractProxoolTest
          extended by org.logicalcobwebs.proxool.ProxyStatementTest

public class ProxyStatementTest
extends AbstractProxoolTest

Test whether ProxyStatement works

Since:
Proxool 0.8
Version:
$Revision: 1.11 $, $Date: 2004/07/13 21:32:41 $
Author:
bill, $Author: billhorsman $ (current maintainer)

Field Summary
private static Log LOG
           
 
Constructor Summary
ProxyStatementTest(java.lang.String alias)
           
 
Method Summary
private  java.lang.String registerPool(java.lang.String alias)
           
 void testCallableStatement()
          Test what interfaces are supported when getting a CallableStatement
 void testDelegateConnection()
          That we can get the delegate driver's Connection from the one given by Proxool
 void testDelegateStatement()
          That we can get the delegate driver's Statement from the one given by Proxool
 void testPreparedStatement()
          Test what interfaces are supported when getting a PreparedStatement
 
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest
setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Log LOG
Constructor Detail

ProxyStatementTest

public ProxyStatementTest(java.lang.String alias)
Method Detail

testDelegateStatement

public void testDelegateStatement()
                           throws java.lang.Exception
That we can get the delegate driver's Statement from the one given by Proxool

Throws:
java.lang.Exception

testPreparedStatement

public void testPreparedStatement()
                           throws java.lang.Exception
Test what interfaces are supported when getting a PreparedStatement

Throws:
java.lang.Exception

testCallableStatement

public void testCallableStatement()
                           throws java.lang.Exception
Test what interfaces are supported when getting a CallableStatement

Throws:
java.lang.Exception

testDelegateConnection

public void testDelegateConnection()
                            throws java.lang.Exception
That we can get the delegate driver's Connection from the one given by Proxool

Throws:
java.lang.Exception

registerPool

private java.lang.String registerPool(java.lang.String alias)
                               throws java.lang.Exception
Parameters:
alias -
Throws:
java.lang.Exception