/** * {@inheritDoc} */ @Override public Ref get(final ResultSet rs, final int index, final int dbSqlType) throws SQLException { return rs.getRef(index); }
@Override public Ref getRef(int columnIndex) throws SQLException { return rs.getRef(columnIndex); }
@Override public Ref getRef(String columnLabel) throws SQLException { return rs.getRef(columnLabel); }
@Override public Ref getRef(int columnIndex) throws SQLException { try { return rs.getRef(columnIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public Ref getRef(String columnLabel) throws SQLException { try { return rs.getRef(columnLabel); } catch (Throwable t) { throw checkException(t); } }
@Override public void run() throws Exception { rs.getRef("id"); } });
@Override public void run() throws Exception { rs.getRef(1); } });
public static Ref getRef(final ResultSet resultSet, final String columnName) throws SQLException { return getNullableFrom(resultSet, rs -> rs.getRef(columnName)); }
public static Ref getRef(final ResultSet resultSet, final int ordinalPosition) throws SQLException { return getNullableFrom(resultSet, rs -> rs.getRef(ordinalPosition)); }
@Override public Ref resultSet_getRef(ResultSetProxy resultSet, int columnIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getRef(this, resultSet, columnIndex); } return resultSet.getResultSetRaw().getRef(columnIndex); }
@Override public Ref resultSet_getRef(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getRef(this, resultSet, columnLabel); } return resultSet.getResultSetRaw().getRef(columnLabel); }
@Override public Ref getRef(String columnLabel) throws SQLException { SQLException e = null; try { Ref value = delegate.getRef(columnLabel); eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnLabel, null, e); throw e; } }
@Override public Ref getRef(int columnIndex) throws SQLException { SQLException e = null; try { Ref value = delegate.getRef(columnIndex); eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, null, e); throw e; } }
@Override public Ref getRef(int columnIndex) throws SQLException { try { return rs.getRef(columnIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public Ref getRef(String columnLabel) throws SQLException { try { return rs.getRef(columnLabel); } catch (Throwable t) { throw checkException(t); } }
@Override public Ref getRef(int columnIndex) throws SQLException { SQLException e = null; try { Ref value = delegate.getRef(columnIndex); eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, value, null); return value; } catch (SQLException sqle) { e = sqle; eventListener.onAfterResultSetGet(resultSetInformation, columnIndex, null, e); throw e; } }
public Ref getRef(String columnName) throws SQLException { if (inMemory) { wasNull = memoryData.get(rowNum - 1).get(columnName).isWasNull(); return (Ref) memoryData.get(rowNum - 1).get(columnName).getValue(); } else { return resultSets.get(resultSetIndex).getRef(columnName); } }
public Ref getRef(int columnIndex) throws SQLException { if (inMemory) { wasNull = memoryData.get(rowNum - 1).get(columnIndex).isWasNull(); if (wasNull) { return null; } else { return (Ref) memoryData.get(rowNum - 1).get(columnIndex).getValue(); } } else { return resultSets.get(resultSetIndex).getRef(columnIndex); } }
@Override public Ref resultSet_getRef(ResultSetProxy resultSet, int columnIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getRef(this, resultSet, columnIndex); } return resultSet.getResultSetRaw().getRef(columnIndex); }
@Override public Ref resultSet_getRef(ResultSetProxy resultSet, String columnLabel) throws SQLException { if (this.pos < filterSize) { return nextFilter().resultSet_getRef(this, resultSet, columnLabel); } return resultSet.getResultSetRaw().getRef(columnLabel); }