org.springframework.batch.item.database
Class HibernateCursorProjectionItemReaderIntegrationTests

java.lang.Object
  extended by AbstractTransactionalDataSourceSpringContextTests
      extended by org.springframework.batch.item.database.HibernateCursorProjectionItemReaderIntegrationTests

public class HibernateCursorProjectionItemReaderIntegrationTests
extends AbstractTransactionalDataSourceSpringContextTests

Tests for HibernateCursorItemReader using StatelessSession.

Author:
Robert Kasanicky

Field Summary
protected  ExecutionContext executionContext
           
protected  ItemReader reader
           
 
Constructor Summary
HibernateCursorProjectionItemReaderIntegrationTests()
           
 
Method Summary
protected  ItemReader createItemReader()
           
protected  String[] getConfigLocations()
           
protected  void onSetUpInTransaction()
           
 void testNormalProcessing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected ItemReader reader

executionContext

protected ExecutionContext executionContext
Constructor Detail

HibernateCursorProjectionItemReaderIntegrationTests

public HibernateCursorProjectionItemReaderIntegrationTests()
Method Detail

getConfigLocations

protected String[] getConfigLocations()

onSetUpInTransaction

protected void onSetUpInTransaction()
                             throws Exception
Throws:
Exception

createItemReader

protected ItemReader createItemReader()
                               throws Exception
Throws:
Exception

testNormalProcessing

public void testNormalProcessing()
                          throws Exception
Throws:
Exception


Copyright © 2008 SpringSource. All Rights Reserved.