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);
   }
 }
예제 #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;
    }
  }
예제 #4
0
 /** @see java.sql.PreparedStatement#setURL(int, java.net.URL) */
 public void setURL(int parameterIndex, URL x) throws SQLException {
   original.setURL(parameterIndex, x);
 }
예제 #5
0
 /** @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);
 }