Package org.springframework.batch.item.database
@NonNullApi
package org.springframework.batch.item.database
Infrastructure implementations of database based item readers and writers.
-
ClassDescriptionAbstract base class for any simple item reader that opens a database cursor and continually retrieves the next row in the ResultSet.Abstract
ItemStreamReaderfor to extend when reading database records in a paging fashion.A convenient implementation for providing BeanPropertySqlParameterSource when the item has JavaBean properties that correspond to names used for parameters in the SQL statement.Implementation ofSmartDataSourcethat is capable of keeping a single JDBC Connection which is NOT closed after each use even ifConnection.close()is called.A convenient strategy for SQL updates, acting effectively as the inverse ofRowMapper.A convenient strategy for providing SqlParameterSource for named parameter SQL updates.ItemWriterthat uses the batching features fromNamedParameterJdbcTemplateto execute a batch of statements for all items provided.Simple item reader implementation that opens a JDBC cursor and continually retrieves the next row in the ResultSet.ItemReaderfor reading database records using JDBC in a paging fashion.Helper methods for SQL statement parameter parsing.ItemStreamReaderimplementation based on JPAQuery.getResultStream().ItemWriterthat is using a JPA EntityManagerFactory to merge any Entities that aren't part of the persistence context.ItemReaderfor reading database records built on top of JPA.The direction of the sort in an ORDER BY clause.Interface defining the functionality to be provided for generating paging queries for use with Paging Item Readers.Item reader implementation that executes a stored procedure and then reads the returned cursor and continually retrieves the next row in theResultSet.