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

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

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

ResultSet.moveToCurrentRow介绍

[英]Moves the cursor to the remembered position, namely the row that was the current row before a call to moveToInsertRow. This only applies if the cursor is on the Insert Row.
[中]将光标移动到记住的位置,即调用moveToInsertRow之前的当前行。这仅适用于光标位于插入行上的情况。

代码示例

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

代码示例来源:origin: com.github.ns2j/nos2jdbc-core

/**
 * @see java.sql.ResultSet#moveToCurrentRow()
 */
public void moveToCurrentRow() throws SQLException {
  original.moveToCurrentRow();
}

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

/**
 * Move to current row.
 *
 * @throws SQLException
 *             the SQL exception
 * @see java.sql.ResultSet#moveToCurrentRow()
 */
@Override
public void moveToCurrentRow() throws SQLException {
  this.resultSet.moveToCurrentRow();
}

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

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

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

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

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

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

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

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

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

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

代码示例来源:origin: org.jboss.jbossas/jboss-as-connector

public void moveToCurrentRow() throws SQLException
{
 checkState();
 try
 {
   resultSet.moveToCurrentRow();
 }
 catch (Throwable t)
 {
   throw checkException(t);
 }
}

相关文章

微信公众号

最新文章

更多

ResultSet类方法