@Override
	public void deleteAlert(int alertId) throws DatabaseException {
    	SqlPreparedStatementWrapper psDeleteAlert = null;
        try {
        	psDeleteAlert = DbSQL.getSingleton().getPreparedStatement("alert.ps.delete");
			psDeleteAlert.getPs().setInt(1, alertId);
			psDeleteAlert.getPs().execute();
		} catch (SQLException e) {
			throw new DatabaseException(e);
		} finally {
			DbSQL.getSingleton().releasePreparedStatement(psDeleteAlert);
		}
    }
@ Override public void deleteAlert ( int alertId ) throws DatabaseException { SqlPreparedStatementWrapper psDeleteAlert = null ; try { psDeleteAlert = DbSQL . getSingleton ( ) . getPreparedStatement ( "alert.ps.delete" ) ; psDeleteAlert . getPs ( ) . setInt ( 1 , alertId ) ; psDeleteAlert . getPs ( ) . execute ( ) ; } catch ( SQLException e ) { throw new DatabaseException ( e ) ; } finally { DbSQL . getSingleton ( ) . releasePreparedStatement ( psDeleteAlert ) ; } }
/* (non-Javadoc)
@see org.parosproxy.paros.db.paros.TableAlert#deleteAlert(int)