public class LongColumnListHandler extends org.apache.commons.dbutils.handlers.AbstractListHandler<Long>
Long teruggeeft ipv
watdedatabaseverzint. Oracle geeft BigDecimal terug voor identity kolommen
van bijv. staging database tabellen omdat het NUMBER(19,0) kolommen zijn.ColumnListHandler| Constructor and Description |
|---|
LongColumnListHandler()
Creates a new instance of ColumnListHandler.
|
LongColumnListHandler(int columnIndex)
Creates a new instance of ColumnListHandler.
|
LongColumnListHandler(String columnName)
Creates a new instance of ColumnListHandler.
|
| Modifier and Type | Method and Description |
|---|---|
protected Long |
handleRow(ResultSet rs)
Returns one
ResultSet column value as Long. |
public LongColumnListHandler()
handle().public LongColumnListHandler(int columnIndex)
columnIndex - The index of the column to retrieve from the
ResultSet.public LongColumnListHandler(String columnName)
columnName - The name of the column to retrieve from the
ResultSet.protected Long handleRow(ResultSet rs) throws SQLException
ResultSet column value as Long.handleRow in class org.apache.commons.dbutils.handlers.AbstractListHandler<Long>rs - ResultSet to process.Object, never null.SQLException - if a database access error occursClassCastException - if the class datatype does not match the
column typeAbstractListHandler.handle(ResultSet)Copyright © 2020 B3Partners B.V.. All rights reserved.