java.sql.ResultSet.cancelRowUpdates()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.6k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中java.sql.ResultSet.cancelRowUpdates方法的一些代码示例,展示了ResultSet.cancelRowUpdates的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ResultSet.cancelRowUpdates方法的具体详情如下:
包路径:java.sql.ResultSet
类名称:ResultSet
方法名:cancelRowUpdates

ResultSet.cancelRowUpdates介绍

[英]Cancels any updates made to the current row in the ResultSet.
[中]取消对结果集中当前行所做的任何更新。

代码示例

代码示例来源:origin: querydsl/querydsl

@Override
public void cancelRowUpdates() throws SQLException {
  rs.cancelRowUpdates();
}

代码示例来源:origin: codingapi/tx-lcn

@Override
public void cancelRowUpdates() throws SQLException {
 delegate.cancelRowUpdates();
}

代码示例来源:origin: alibaba/druid

@Override
public void cancelRowUpdates() throws SQLException {
  try {
    rs.cancelRowUpdates();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

代码示例来源:origin: apache/ignite

@Override public void run() throws Exception {
    rs.cancelRowUpdates();
  }
});

代码示例来源:origin: alibaba/druid

@Override
public void resultSet_cancelRowUpdates(ResultSetProxy resultSet) throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_cancelRowUpdates(this, resultSet);
    return;
  }
  resultSet.getResultSetRaw().cancelRowUpdates();
}

代码示例来源:origin: p6spy/p6spy

@Override
public void cancelRowUpdates() throws SQLException {
 delegate.cancelRowUpdates();
}

代码示例来源:origin: Meituan-Dianping/Zebra

@Override
public void cancelRowUpdates() throws SQLException {
  innerResultSet.cancelRowUpdates();
}

代码示例来源:origin: apache/phoenix

@Override
public void cancelRowUpdates() throws SQLException {
  rs.cancelRowUpdates();
}

代码示例来源:origin: Meituan-Dianping/Zebra

@Override
public void cancelRowUpdates() throws SQLException {
  innerResultSet.cancelRowUpdates();
}

代码示例来源:origin: com.alibaba/druid

@Override
public void cancelRowUpdates() throws SQLException {
  try {
    rs.cancelRowUpdates();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

代码示例来源:origin: com.alibaba/druid

@Override
public void resultSet_cancelRowUpdates(ResultSetProxy resultSet) throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_cancelRowUpdates(this, resultSet);
    return;
  }
  resultSet.getResultSetRaw().cancelRowUpdates();
}

代码示例来源:origin: commons-dbutils/commons-dbutils

/**
 * @throws SQLException
 * @see java.sql.ResultSet#cancelRowUpdates()
 */
protected final void cancelRowUpdates() throws SQLException {
  rs.cancelRowUpdates();
}

代码示例来源:origin: org.patterntesting/patterntesting-rt

/**
 * Cancel row updates.
 *
 * @throws SQLException
 *             the SQL exception
 * @see java.sql.ResultSet#cancelRowUpdates()
 */
@Override
public void cancelRowUpdates() throws SQLException {
  this.resultSet.cancelRowUpdates();
}

代码示例来源:origin: co.paralleluniverse/comsat-jdbc

@Override
  public Void call() throws SQLException {
    result.cancelRowUpdates();
    return null;
  }
});

代码示例来源:origin: apache/activemq-artemis

@Override
public void cancelRowUpdates() throws SQLException {
 logger.logf(level, "%s.cancelRowUpdates()", resultSetID);
 resultSet.cancelRowUpdates();
}

代码示例来源:origin: org.apache.tomcat/tomcat-dbcp

@Override
public void cancelRowUpdates() throws SQLException {
  try {
    resultSet.cancelRowUpdates();
  } catch (final SQLException e) {
    handleException(e);
  }
}

代码示例来源:origin: org.apache.commons/commons-dbcp2

@Override
public void cancelRowUpdates() throws SQLException {
  try {
    resultSet.cancelRowUpdates();
  } catch (final SQLException e) {
    handleException(e);
  }
}

代码示例来源:origin: org.tranql/tranql-connector

public void cancelRowUpdates() throws SQLException {
  try {
    rs.cancelRowUpdates();
  } catch (SQLException e) {
    connectionError(e);
    throw e;
  }
}

代码示例来源:origin: com.caucho/resin

public void cancelRowUpdates()
 throws SQLException
{
 Profiler profiler = _profilerPoint.start();
 try {
  _resultSet.cancelRowUpdates();
 }
 finally {
  profiler.finish();
 }
}

代码示例来源:origin: org.arrahtec/osdq-core

public void cancelRowUpdates()
 throws SQLException
{
 checkState();
 this.rs.cancelRowUpdates();
 notifyRowChanged();
}

相关文章

微信公众号

最新文章

更多

ResultSet类方法