blob需要单独获取,,不能通过map来获取

jdbcTemplate.query(sqlcontent, new Object[] {id},
     new AbstractLobStreamingResultSetExtractor<Object>() {
      @Override
      protected void streamData(ResultSet arg0)
        throws SQLException, IOException,
        DataAccessException {
       System.out.println("dksajd;sa;ldajd;sd");
       FileCopyUtils.copy(lobHandler.getBlobAsBinaryStream(arg0, 1),out);
       
      }
     });

相关文章:

  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-07-23
  • 2021-09-26
  • 2022-12-23
  • 2022-01-23
  • 2021-11-21
相关资源
相似解决方案