} else if (Short.class.equals(valueType)) {
Short aux = rs.getShort(columnIndex);
result = (rs.wasNull()) ? null : (T) aux;
} else if (char.class.equals(valueType) || Character.class.equals(valueType)) {
String aux = rs.getString(columnIndex);
result = (aux != null) ? (T) new Character(aux.charAt(0)) : null;
} else {
result = (T) rs.getObject(columnIndex);
}
return result;