public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException {
   checkOpen();
   try {
     _stmt.setAsciiStream(parameterName, x, length);
   } catch (SQLException e) {
     handleException(e);
   }
 }
 public void setAsciiStream(String parameterName, InputStream inputStream) throws SQLException {
   checkOpen();
   try {
     ((CallableStatement) _stmt).setAsciiStream(parameterName, inputStream);
   } catch (SQLException e) {
     handleException(e);
   }
 }
Пример #3
0
  /** Sets the asciiStream */
  @Override
  public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException {
    try {
      _cstmt.setAsciiStream(parameterName, x, length);
    } catch (SQLException e) {
      onSqlException(e);

      throw e;
    } catch (RuntimeException e) {
      onRuntimeException(e);

      throw e;
    }
  }
Пример #4
0
  /** @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream, int) */
  public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException {

    original.setAsciiStream(parameterIndex, x, length);
  }
Пример #5
0
  /** @see java.sql.CallableStatement#setAsciiStream(java.lang.String, java.io.InputStream, int) */
  public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException {

    original.setAsciiStream(parameterName, x, length);
  }
 public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException {
   passThru.setAsciiStream(parameterName, x, length);
 }