org.springframework.batch.item.database
Class HibernateCursorItemReaderIntegrationTests
java.lang.Object
AbstractTransactionalDataSourceSpringContextTests
org.springframework.batch.item.database.AbstractDataSourceItemReaderIntegrationTests
org.springframework.batch.item.database.HibernateCursorItemReaderIntegrationTests
- Direct Known Subclasses:
- HibernateCursorItemReaderStatefulIntegrationTests
public class HibernateCursorItemReaderIntegrationTests
- extends AbstractDataSourceItemReaderIntegrationTests
Tests for HibernateCursorItemReader
using StatelessSession
.
- Author:
- Robert Kasanicky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateCursorItemReaderIntegrationTests
public HibernateCursorItemReaderIntegrationTests()
createItemReader
protected ItemReader createItemReader()
throws Exception
- Specified by:
createItemReader
in class AbstractDataSourceItemReaderIntegrationTests
- Returns:
- configured input source ready for use
- Throws:
Exception
isUseStatelessSession
protected boolean isUseStatelessSession()
testSetUseStatelessSession
public void testSetUseStatelessSession()
- Exception scenario.
HibernateCursorItemReader#setUseStatelessSession(boolean)
can be
called only in uninitialized state.
Copyright © 2008 SpringSource. All Rights Reserved.