org.objectweb.cjdbc.scenario.raidb1.driver
Class PreparedStatementScenario

java.lang.Object
  extended byTestCase
      extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
          extended byorg.objectweb.cjdbc.scenario.templates.Template
              extended byorg.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
                  extended byorg.objectweb.cjdbc.scenario.templates.Raidb1Template
                      extended byorg.objectweb.cjdbc.scenario.raidb1.driver.PreparedStatementScenario

public class PreparedStatementScenario
extends Raidb1Template

This class test repeated PreparedStatement usage

Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
private static int N
           
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template
cm, controller, controllerProcess, hm, hm1, hm2, mainVdb
 
Fields inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
logger, TEXT_DIR
 
Constructor Summary
PreparedStatementScenario()
           
 
Method Summary
 void testLoopCreateStatement()
          Test repeated create statement
 void testLoopCreateStatementAndClose()
          Test repeated create statement and close the statement after each execution
 void testLoopInsertBlobStatementAndClose()
          Test repeated blob insert
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Raidb1Template
setUp, tearDown
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.Template
getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getCJDBCConnection, getHypersonicConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.templates.NoTemplate
getTextPath, getUserDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

N

private static final int N
See Also:
Constant Field Values
Constructor Detail

PreparedStatementScenario

public PreparedStatementScenario()
Method Detail

testLoopCreateStatement

public void testLoopCreateStatement()
                             throws java.lang.Exception
Test repeated create statement

Throws:
java.lang.Exception - if fails

testLoopCreateStatementAndClose

public void testLoopCreateStatementAndClose()
                                     throws java.lang.Exception
Test repeated create statement and close the statement after each execution

Throws:
java.lang.Exception - if fails

testLoopInsertBlobStatementAndClose

public void testLoopInsertBlobStatementAndClose()
                                         throws java.lang.Exception
Test repeated blob insert

Throws:
java.lang.Exception - if fails


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.