public class ColumnAliasRowProcessor
extends org.apache.commons.dbutils.BasicRowProcessor
ResultSet using the column labels
instead of the column names.
This is needed because some database drivers return different values for the
column name and column label. BasicRowProcessor uses column names,
so in the mentioned cases column aliases are lost and are only available for
calculated values.| Constructor and Description |
|---|
ColumnAliasRowProcessor() |
public Map toMap(ResultSet rs) throws SQLException
toMap in interface org.apache.commons.dbutils.RowProcessortoMap in class org.apache.commons.dbutils.BasicRowProcessorSQLExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.