Examples of ColumnMapRowMapper


Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public Map<String, Object> queryForMap(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return queryForObject(sql, paramSource, new ColumnMapRowMapper());
  }

  public Map<String, Object> queryForMap(String sql, Map<String, ?> paramMap) throws DataAccessException {
    return queryForObject(sql, paramMap, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  }

  public List<Map<String, Object>> queryForList(String sql, SqlParameterSource paramSource)
      throws DataAccessException {

    return query(sql, paramSource, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  }

  @Override
  public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta) {
    if (meta.getSqlType() == Types.OTHER && REF_CURSOR_NAME.equals(meta.getTypeName())) {
      return new SqlOutParameter(parameterName, getRefCursorSqlType(), new ColumnMapRowMapper());
    }
    else {
      return super.createDefaultOutParameter(parameterName, meta);
    }
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  }

  @Override
  public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta) {
    if (meta.getSqlType() == Types.OTHER && "refcursor".equals(meta.getTypeName())) {
      return new SqlOutParameter(parameterName, getRefCursorSqlType(), new ColumnMapRowMapper());
    }
    else {
      return super.createDefaultOutParameter(parameterName, meta);
    }
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public Object queryForObject(String sql, Map paramMap, Class requiredType) throws DataAccessException {
    return queryForObject(sql, paramMap, new SingleColumnRowMapper(requiredType));
  }

  public Map queryForMap(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return (Map) queryForObject(sql, paramSource, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public Map queryForMap(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return (Map) queryForObject(sql, paramSource, new ColumnMapRowMapper());
  }

  public Map queryForMap(String sql, Map paramMap) throws DataAccessException {
    return (Map) queryForObject(sql, paramMap, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public List queryForList(String sql, Map paramMap, Class elementType) throws DataAccessException {
    return queryForList(sql, new MapSqlParameterSource(paramMap), elementType);
  }

  public List queryForList(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return query(sql, paramSource, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  }

  @Override
  public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta) {
    if (meta.getSqlType() == Types.OTHER && REF_CURSOR_NAME.equals(meta.getTypeName())) {
      return new SqlOutParameter(parameterName, getRefCursorSqlType(), new ColumnMapRowMapper());
    }
    else {
      return super.createDefaultOutParameter(parameterName, meta);
    }
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public Map queryForMap(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return (Map) queryForObject(sql, paramSource, new ColumnMapRowMapper());
  }

  public Map queryForMap(String sql, Map paramMap) throws DataAccessException {
    return (Map) queryForObject(sql, paramMap, new ColumnMapRowMapper());
  }
View Full Code Here

Examples of org.springframework.jdbc.core.ColumnMapRowMapper

  public List queryForList(String sql, Map paramMap, Class elementType) throws DataAccessException {
    return queryForList(sql, new MapSqlParameterSource(paramMap), elementType);
  }

  public List queryForList(String sql, SqlParameterSource paramSource) throws DataAccessException {
    return query(sql, paramSource, new ColumnMapRowMapper());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.