public class NamedColumnJdbcItemReader extends org.springframework.batch.item.database.JdbcCursorItemReader<Tuple>
Constructor and Description |
---|
NamedColumnJdbcItemReader() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setColumnNames(java.lang.String names)
The column names in the database, in the order in which they should be read and
assembled into the returned string.
|
void |
setTableName(java.lang.String tableName)
The table to read from.
|
cleanupOnClose, getSql, openCursor, readCursor, setPreparedStatementSetter, setRowMapper, setSql
applyStatementSettings, doClose, doOpen, doRead, getDataSource, getExceptionTranslator, handleWarnings, initializeConnection, isUseSharedExtendedConnection, jumpToItem, setDataSource, setDriverSupportsAbsolute, setFetchSize, setIgnoreWarnings, setMaxRows, setQueryTimeout, setUseSharedExtendedConnection, setVerifyCursorPosition
close, getCurrentItemCount, isSaveState, open, read, setCurrentItemCount, setMaxItemCount, setSaveState, update
public void setColumnNames(java.lang.String names)
public void setTableName(java.lang.String tableName)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.batch.item.database.JdbcCursorItemReader<Tuple>
java.lang.Exception