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 494FE200B83 for ; Sat, 3 Sep 2016 03:38:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 464E8160ACB; Sat, 3 Sep 2016 01:38:22 +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 85BD1160A8C for ; Sat, 3 Sep 2016 03:38:21 +0200 (CEST) Received: (qmail 86021 invoked by uid 500); 3 Sep 2016 01:38:20 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 86008 invoked by uid 99); 3 Sep 2016 01:38:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Sep 2016 01:38:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 984D42C014F for ; Sat, 3 Sep 2016 01:38:20 +0000 (UTC) Date: Sat, 3 Sep 2016 01:38:20 +0000 (UTC) From: "Niclas Hedhman (JIRA)" To: dev@zest.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (ZEST-173) Add a convenience method for converting Associations to Values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 03 Sep 2016 01:38:22 -0000 [ https://issues.apache.org/jira/browse/ZEST-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niclas Hedhman reassigned ZEST-173: ----------------------------------- Assignee: Niclas Hedhman > Add a convenience method for converting Associations to Values > -------------------------------------------------------------- > > Key: ZEST-173 > URL: https://issues.apache.org/jira/browse/ZEST-173 > Project: Zest > Issue Type: Improvement > Reporter: Niclas Hedhman > Assignee: Niclas Hedhman > > When converting an Entity to Value, the Associations are EntityReferences inside the Value, and can only be accessed within a UnitOfWork. And that is fine. > But if I want to convert all those associations into values, a boilerplate code is needed over and over again. It would make a lot of sense to put these into the UnitOfWork itself. -- This message was sent by Atlassian JIRA (v6.3.4#6332)