public void setJDBCType(final JDBCType jdbcType)
{
if(resultReader != null)
{
final JDBCResultSetReader jdbcResultReader = this.resultReader;
resultReader = new JDBCResultSetReader()
{
public Object get(ResultSet rs, int index, Class destination, Logger log) throws SQLException
{
Object jdbcResult = jdbcResultReader.get(rs, index, destination, log);
return jdbcType.setColumnValue(0, null, jdbcResult);
}
};
}
}