public void setURL(String parameterName, URL val) throws SQLException {
   checkOpen();
   try {
     _stmt.setURL(parameterName, val);
   } catch (SQLException e) {
     handleException(e);
   }
 }
 public void setURL(String parameterName, URL val) throws SQLException {
   checkOpen();
   try {
     ((CallableStatement) _stmt).setURL(parameterName, val);
   } catch (SQLException e) {
     handleException(e);
   }
 }
Esempio n. 3
0
  /** Sets the URL */
  @Override
  public void setURL(String parameterName, URL x) throws SQLException {
    try {
      _cstmt.setURL(parameterName, x);
    } catch (SQLException e) {
      onSqlException(e);

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

      throw e;
    }
  }
 /** @see java.sql.PreparedStatement#setURL(int, java.net.URL) */
 public void setURL(int parameterIndex, URL x) throws SQLException {
   original.setURL(parameterIndex, x);
 }
 /** @see java.sql.CallableStatement#setURL(java.lang.String, java.net.URL) */
 public void setURL(String parameterName, URL val) throws SQLException {
   original.setURL(parameterName, val);
 }
 public void setURL(String parameterName, URL val) throws SQLException {
   passThru.setURL(parameterName, val);
 }