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
ItemStreamReader
for 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 ofSmartDataSource
that 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.ItemWriter
that uses the batching features fromNamedParameterJdbcTemplate
to 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.ItemReader
for reading database records using JDBC in a paging fashion.Helper methods for SQL statement parameter parsing.ItemStreamReader
implementation based on JPAQuery.getResultStream()
.ItemWriter
that is using a JPA EntityManagerFactory to merge any Entities that aren't part of the persistence context.ItemReader
for 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
.