From users-return-12214-archive-asf-public=cust-asf.ponee.io@openjpa.apache.org Fri Jul 12 13:37:33 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 75E261802C7 for ; Fri, 12 Jul 2019 15:37:33 +0200 (CEST) Received: (qmail 48727 invoked by uid 500); 12 Jul 2019 13:37:32 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 48715 invoked by uid 99); 12 Jul 2019 13:37:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jul 2019 13:37:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A3ACCC0975 for ; Fri, 12 Jul 2019 13:37:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rzVH0U-3Qqn1 for ; Fri, 12 Jul 2019 13:37:30 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.171; helo=mail-pg1-f171.google.com; envelope-from=pawel.veselov@gmail.com; receiver= Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 55EC4BC761 for ; Fri, 12 Jul 2019 13:37:30 +0000 (UTC) Received: by mail-pg1-f171.google.com with SMTP id g15so4568292pgi.4 for ; Fri, 12 Jul 2019 06:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ENWIsxx3KHLga2n8i630zuBzHGMXUduPVVtTabzmGhY=; b=S139nHXpsqUHDpAdF3XD0h/8A6Az4DeVfrkTNkQrjP/+boJc5RBxYcnq0vO3cdkiwW /MHlXzbWJCnFgEmaI/HHUEngheiTr7137zaY8jq/N5oQBzc9iSpRlz1dobcL95gbYsWU zf8AsSAAPR/PNHPLUZSSDESB9qW7JB+ekhROrpIDq1qXdM4oa/RwcRq8WcinV7DMFZfJ DzuH8omcXGGTp+Sod0ea5W9vKbiUOb70YNwVyESMziQoMKUX21E52vVaDdrJE7ZxajZL 4ufebHUqwfxar1UDewNhKbGk2zWpuTChcnvGWbEKAFyHvEhN4yleAW+Cn+rQydiJ9JcE yAOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ENWIsxx3KHLga2n8i630zuBzHGMXUduPVVtTabzmGhY=; b=NS8bYG9ES+PcVjyXVe+RWjUMnfBr95KKMTIaEZUNfo4kD8lyqIgOx8duXllqe5r22S MpEobBYs5kSXNxyjYBLlHFg38Yt9DPzg6FGED1I+GntwjQCy/c9RdsjmTjCUrcsgH1/7 CrwTV/b7gCSnXDT6oJF8r8Re5aq1FY5GoCcxuUqRVxZzZ+541AV5SIGCwi6CN6oPLooH EDdkZjOiZIRCuoZ8UkzA9uAoohsJFeRjRLFRUMGTzzRDd0lochzzf2BW+ggAdoaUprxD eqtwjK+EVMmV9jkGTOgQ4CETkNHJaITbkBLryH6/G7YXmXs86VhsyIHUOGLUXtXxVJUf AP/w== X-Gm-Message-State: APjAAAXOsJbSPTZiIM7zaOrHfXo90SFKPtIYF12n2zpKTrdeR45WOPZ1 8jlmrPk6pX0Dxv1kwaW7GA99L/IPLlsh0yHESliD9Aa6/59FZQ== X-Google-Smtp-Source: APXvYqwLRA7IG5mzvMaTxLCIVTtoADmKeuqs/sYUjrknE+MSAQUHTSfKSM4e/JlQXx3M+eEdeR0dMTwAF+sC0A02pCI= X-Received: by 2002:a65:4844:: with SMTP id i4mr11075072pgs.113.1562938642408; Fri, 12 Jul 2019 06:37:22 -0700 (PDT) MIME-Version: 1.0 From: Pawel Veselov Date: Fri, 12 Jul 2019 15:37:11 +0200 Message-ID: Subject: Detach on cascade turns on phatonmly To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary="0000000000009627a0058d7c02d3" --0000000000009627a0058d7c02d3 Content-Type: text/plain; charset="UTF-8" Hello. https://issues.apache.org/jira/browse/OPENJPA-2792 Has took me a while to track down, and leaves quite unpleasant surprises, as your entities become detached without warning, which leads to phantom NPEs at places you never expect to happen. -- With best of best regards Pawel S. Veselov --0000000000009627a0058d7c02d3--