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, setSqlapplyStatementSettings, doClose, doOpen, doRead, getDataSource, getExceptionTranslator, handleWarnings, initializeConnection, isUseSharedExtendedConnection, jumpToItem, setDataSource, setDriverSupportsAbsolute, setFetchSize, setIgnoreWarnings, setMaxRows, setQueryTimeout, setUseSharedExtendedConnection, setVerifyCursorPositionclose, getCurrentItemCount, isSaveState, open, read, setCurrentItemCount, setMaxItemCount, setSaveState, updatepublic 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.InitializingBeanafterPropertiesSet in class org.springframework.batch.item.database.JdbcCursorItemReader<Tuple>java.lang.Exception