This class is referenced when the
usage pattern of your JDBC input stream retrieves a set of results
at the beginning of the step, and then iterates over them throughout
the step-processing logic. The CursorHoldableJDBCReader uses a stateful
session bean with a cursor-holdable, non-XA data source. A cursor-holdable
JDBCReader is a pattern that is implemented in such a way that the
cursor is not lost when the transaction is committed. As a result,
ResultSets do not need to be repopulated after every checkpoint, which
improves performance. To use CursorHoldableJDBCReader, package the
CursorHoldableSessionBean in your application. To create the package,
add the
nonxadsjndiname=jndi_name_of_a_non-XA_data_source_to_database
property to the properties file that is used by the BatchPackager.
For example:
nonxadsjndiname=jdbc/nonxads