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.RowProcessor
toMap
in class org.apache.commons.dbutils.BasicRowProcessor
SQLException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.