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

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.SetFetchSizeScenario

public class SetFetchSizeScenario
extends Raidb1Template

This class defines a SetFetchSizeScenario

Version:
1.0
Author:
Nicolas Modrzyk
See Also:
Serialized Form

Field Summary
 
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
SetFetchSizeScenario()
           
 
Method Summary
 void testFetchSize()
          It seems the setFetchsize is ignored and the controller loads all the resultset in memory, thus resulting in an OutOfMemory exception
 
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
 

Constructor Detail

SetFetchSizeScenario

public SetFetchSizeScenario()
Method Detail

testFetchSize

public void testFetchSize()
                   throws java.lang.Exception
It seems the setFetchsize is ignored and the controller loads all the resultset in memory, thus resulting in an OutOfMemory exception

Throws:
java.lang.Exception - if fails


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