private Object getObjectAs(ResultSet rset, ResultSetMetaData rsmd, int colIndex) throws SQLException {
		int colType = rsmd.getColumnType(colIndex);
		
		if(colType == Types.INTEGER)
			return rset.getInt(colIndex);
		else if(colType == Types.FLOAT || colType == Types.DECIMAL || colType == Types.DOUBLE || colType == Types.REAL)
			return rset.getBigDecimal(colIndex);
		
		return rset.getObject(colIndex);
	}