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

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

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

ResultSet.getCursorName介绍

[英]Gets the name of the SQL cursor of this ResultSet.
[中]获取此结果集的SQL游标的名称。

代码示例

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

@Override
public String getCursorName() throws SQLException {
  return rs.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
 return delegate.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
  try {
    return rs.getCursorName();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public String resultSet_getCursorName(ResultSetProxy rs) throws SQLException {
  if (this.pos < filterSize) {
    return nextFilter()
        .resultSet_getCursorName(this, rs);
  }
  return rs.getResultSetRaw()
      .getCursorName();
}

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

/**
 * @return the cursorName
 * @throws java.sql.SQLException
 */
public String getCursorName() throws SQLException {
  return resultSet.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
 return delegate.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
  return innerResultSet.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
  return innerResultSet.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
  return rs.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
  try {
    return rs.getCursorName();
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

public String getCursorName() throws SQLException {
  if (inMemory) {
    return memoryData.get(rowNum - 1).getCursorName();
  } else {
    return resultSets.get(resultSetIndex).getCursorName();
  }
}

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

@Override
public String resultSet_getCursorName(ResultSetProxy rs) throws SQLException {
  if (this.pos < filterSize) {
    return nextFilter()
        .resultSet_getCursorName(this, rs);
  }
  return rs.getResultSetRaw()
      .getCursorName();
}

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

/**
 * @return
 * @throws SQLException
 * @see java.sql.ResultSet#getCursorName()
 */
protected final String getCursorName() throws SQLException {
  return rs.getCursorName();
}

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

/**
 * Gets the cursor name.
 *
 * @return the cursor name
 * @throws SQLException
 *             the SQL exception
 * @see java.sql.ResultSet#getCursorName()
 */
@Override
public String getCursorName() throws SQLException {
  return this.resultSet.getCursorName();
}

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

@Override
public String getCursorName() throws SQLException {
 String x = resultSet.getCursorName();
 logger.logf(level, "%s.getCursorName() = %s", resultSetID, x);
 return x;
}

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

@Override
public String getCursorName() throws SQLException {
  try {
    return resultSet.getCursorName();
  } catch (final SQLException e) {
    handleException(e);
    return null;
  }
}

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

public String getCursorName() throws SQLException {
  try {
    return rs.getCursorName();
  } catch (SQLException e) {
    connectionError(e);
    throw e;
  }
}

代码示例来源:origin: net.sf.ucanaccess/ucanaccess

@Override
public String getCursorName() throws SQLException {
  try {
    return wrapped.getCursorName();
  } catch (SQLException e) {
    throw new UcanaccessSQLException(e);
  }
}

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

public String getCursorName() throws SQLException
{
 checkState();
 try
 {
   return resultSet.getCursorName();
 }
 catch (Throwable t)
 {
   throw checkException(t);
 }
}

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

public String getCursorName()
 throws SQLException
{
 Profiler profiler = _profilerPoint.start();
 try {
  return _resultSet.getCursorName();
 }
 finally {
  profiler.finish();
 }
}

相关文章

微信公众号

最新文章

更多

ResultSet类方法