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

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

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

ResultSet.updateBlob介绍

[英]Updates the value at the 1-based columnIndex. The underlying database isn't changed until the next row update or insert operation.
[中]更新基于1的列索引处的值。在下一次行更新或插入操作之前,不会更改基础数据库。

代码示例

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

@Override
public void updateBlob(String columnLabel, InputStream inputStream,
    long length) throws SQLException {
  rs.updateBlob(columnLabel, inputStream, length);
}

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

@Override
public void updateBlob(String columnLabel, InputStream inputStream)
    throws SQLException {
  rs.updateBlob(columnLabel, inputStream);
}

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

@Override
public void updateBlob(int columnIndex, InputStream inputStream, long length)
    throws SQLException {
  rs.updateBlob(columnIndex, inputStream, length);
}

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

@Override
public void updateBlob(int columnIndex, InputStream inputStream)
    throws SQLException {
  rs.updateBlob(columnIndex, inputStream);
}

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

@Override
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
  try {
    rs.updateBlob(columnIndex, inputStream, length);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public void updateBlob(int columnIndex, java.sql.Blob x) throws SQLException {
  try {
    rs.updateBlob(columnIndex, x);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public void updateBlob(String columnLabel, java.sql.Blob x) throws SQLException {
  try {
    rs.updateBlob(columnLabel, x);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
  try {
    rs.updateBlob(columnLabel, inputStream, length);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
  try {
    rs.updateBlob(columnIndex, inputStream);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
  try {
    rs.updateBlob(columnLabel, inputStream);
  } catch (Throwable t) {
    throw checkException(t);
  }
}

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

@Override public void run() throws Exception {
    rs.updateBlob(1, (Blob)null);
  }
});

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

@Override public void run() throws Exception {
    rs.updateBlob("id", null, 0L);
  }
});

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

@Override public void run() throws Exception {
    rs.updateBlob("id", (Blob)null);
  }
});

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

@Override public void run() throws Exception {
    rs.updateBlob("id", (InputStream)null);
  }
});

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, Blob x) throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnLabel, x);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnLabel, x);
}

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream)
                                                  throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnIndex, inputStream);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnIndex, inputStream);
}

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream)
                                                    throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnLabel, inputStream);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnLabel, inputStream);
}

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, String columnLabel, InputStream inputStream, long length)
                                                          throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnLabel, inputStream, length);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnLabel, inputStream, length);
}

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, Blob x) throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnIndex, x);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnIndex, x);
}

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

@Override
public void resultSet_updateBlob(ResultSetProxy resultSet, int columnIndex, InputStream inputStream, long length)
                                                         throws SQLException {
  if (this.pos < filterSize) {
    nextFilter().resultSet_updateBlob(this, resultSet, columnIndex, inputStream, length);
    return;
  }
  resultSet.getResultSetRaw().updateBlob(columnIndex, inputStream, length);
}

相关文章

微信公众号

最新文章

更多

ResultSet类方法