z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Supporting classes

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

  • CursorHoldableJDBCReader
    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
    If you want to add multiple non-XA datasources enter the following:
    name1>;<jndi name2>...

    Restriction: Currently, the resource reference name of the JDBC data source is the same as the Java Naming and Directory Interface (JNDI) name.

  • JDBCReader

    This class is referenced when the usage pattern of your JDBC input stream retrieves a single result from a query, which is used and discarded after every iteration of the step.

  • LocalJDBCReader

    This class is referenced when data is read from a local database.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014