org.springframework.jdbc.core.JdbcTemplate.processResultSet()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(123)

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

JdbcTemplate.processResultSet介绍

[英]Process the given ResultSet from a stored procedure.
[中]处理存储过程中给定的结果集。

代码示例

代码示例来源:origin: spring-projects/spring-framework

if (resultSetParameters != null && resultSetParameters.size() > rsIndex) {
  SqlReturnResultSet declaredRsParam = (SqlReturnResultSet) resultSetParameters.get(rsIndex);
  returnedResults.putAll(processResultSet(cs.getResultSet(), declaredRsParam));
  rsIndex++;
      logger.trace("Added default SqlReturnResultSet parameter named '" + rsName + "'");
    returnedResults.putAll(processResultSet(cs.getResultSet(), undeclaredRsParam));
    rsIndex++;

代码示例来源:origin: spring-projects/spring-framework

if (out instanceof ResultSet) {
  if (outParam.isResultSetSupported()) {
    returnedResults.putAll(processResultSet((ResultSet) out, outParam));
    returnedResults.putAll(processResultSet((ResultSet) out, rsParam));
    if (logger.isTraceEnabled()) {
      logger.trace("Added default SqlReturnResultSet parameter named '" + rsName + "'");

代码示例来源:origin: org.springframework/org.springframework.jdbc

if (resultSetParameters != null && resultSetParameters.size() > rsIndex) {
  SqlReturnResultSet declaredRsParam = (SqlReturnResultSet)resultSetParameters.get(rsIndex);
  returnedResults.putAll(processResultSet(cs.getResultSet(), declaredRsParam));
  rsIndex++;
    SqlReturnResultSet undeclaredRsParam = new SqlReturnResultSet(rsName, new ColumnMapRowMapper());
    logger.info("Added default SqlReturnResultSet parameter named " + rsName);
    returnedResults.putAll(processResultSet(cs.getResultSet(), undeclaredRsParam));
    rsIndex++;

代码示例来源:origin: apache/servicemix-bundles

if (resultSetParameters != null && resultSetParameters.size() > rsIndex) {
  SqlReturnResultSet declaredRsParam = (SqlReturnResultSet) resultSetParameters.get(rsIndex);
  returnedResults.putAll(processResultSet(cs.getResultSet(), declaredRsParam));
  rsIndex++;

代码示例来源:origin: org.springframework/org.springframework.jdbc

if (out instanceof ResultSet) {
  if (outParam.isResultSetSupported()) {
    returnedResults.putAll(processResultSet((ResultSet) out, outParam));
    returnedResults.putAll(processResultSet(cs.getResultSet(), rsParam));
    logger.info("Added default SqlReturnResultSet parameter named " + rsName);

代码示例来源:origin: apache/servicemix-bundles

if (out instanceof ResultSet) {
  if (outParam.isResultSetSupported()) {
    returnedResults.putAll(processResultSet((ResultSet) out, outParam));

相关文章