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