@Override
	public synchronized void delete(int contextId, int type, String data) throws DatabaseException {
    	SqlPreparedStatementWrapper psDeleteData = null;
    	try {
        	psDeleteData = DbSQL.getSingleton().getPreparedStatement("context.ps.delete");
			psDeleteData.getPs().setInt(1, contextId);
			psDeleteData.getPs().setInt(2, type);
			psDeleteData.getPs().setString(3, data);
			psDeleteData.getPs().executeUpdate();
		} catch (SQLException e) {
			throw new DatabaseException(e);
		} finally {
			DbSQL.getSingleton().releasePreparedStatement(psDeleteData);
		}
    }
@ Override public synchronized void delete ( int contextId , int type , String data ) throws DatabaseException { SqlPreparedStatementWrapper psDeleteData = null ; try { psDeleteData = DbSQL . getSingleton ( ) . getPreparedStatement ( "context.ps.delete" ) ; psDeleteData . getPs ( ) . setInt ( 1 , contextId ) ; psDeleteData . getPs ( ) . setInt ( 2 , type ) ; psDeleteData . getPs ( ) . setString ( 3 , data ) ; psDeleteData . getPs ( ) . executeUpdate ( ) ; } catch ( SQLException e ) { throw new DatabaseException ( e ) ; } finally { DbSQL . getSingleton ( ) . releasePreparedStatement ( psDeleteData ) ; } }
/* (non-Javadoc)
@see org.parosproxy.paros.db.paros.TableContext#delete(int, int, java.lang.String)