Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E7EC200CBA for ; Mon, 3 Jul 2017 18:58:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1C384160BEC; Mon, 3 Jul 2017 16:58:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 62C6C160BD2 for ; Mon, 3 Jul 2017 18:58:47 +0200 (CEST) Received: (qmail 12478 invoked by uid 500); 3 Jul 2017 16:58:46 -0000 Mailing-List: contact dev-help@polygene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@polygene.apache.org Delivered-To: mailing list dev@polygene.apache.org Received: (qmail 12467 invoked by uid 99); 3 Jul 2017 16:58:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 16:58:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3124E1812FB for ; Mon, 3 Jul 2017 16:58:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.252 X-Spam-Level: X-Spam-Status: No, score=0.252 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id IRfmf2mCtsLR for ; Mon, 3 Jul 2017 16:58:44 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F28715F249 for ; Mon, 3 Jul 2017 16:58:43 +0000 (UTC) Received: from mfilter30-d.gandi.net (mfilter30-d.gandi.net [217.70.178.161]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id B5E791720B4 for ; Mon, 3 Jul 2017 18:58:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter30-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter30-d.gandi.net (mfilter30-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Ryn2rroAhknt for ; Mon, 3 Jul 2017 18:55:19 +0200 (CEST) X-Originating-IP: 176.142.246.126 Received: from parangon.local (nor87-h02-176-142-246-126.dsl.sta.abo.bbox.fr [176.142.246.126]) (Authenticated sender: paul@nosphere.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id C3B6A17209C for ; Mon, 3 Jul 2017 18:55:19 +0200 (CEST) Message-ID: <595A76F7.6020801@apache.org> Date: Mon, 03 Jul 2017 18:55:19 +0200 From: Paul Merlin User-Agent: Postbox 3.0.11 (Macintosh/20140602) MIME-Version: 1.0 To: dev@polygene.apache.org Subject: Re: UnitOfWork closed inconsistently References: <99625A77-8B97-42E7-8A22-506DB003FE5F@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit archived-at: Mon, 03 Jul 2017 16:58:48 -0000 Niclas Hedhman a écrit : > Finally, the inconsistency was to the fact that the Entity properties were > accessible after the UnitOfWork is closed. And to restore "consistency" I > suggest that this would result in the same Exception as when accessing the > Associations, to force people to a "do the right thing" (no entity access > outside UnitOfWork). +1 from me