You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2018/04/28 07:44:00 UTC

[jira] [Closed] (POLYGENE-173) Add a convenience method for converting Associations to Values

     [ https://issues.apache.org/jira/browse/POLYGENE-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niclas Hedhman closed POLYGENE-173.
-----------------------------------

> Add a convenience method for converting Associations to Values
> --------------------------------------------------------------
>
>                 Key: POLYGENE-173
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-173
>             Project: Polygene
>          Issue Type: Improvement
>            Reporter: Niclas Hedhman
>            Assignee: Niclas Hedhman
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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
(v7.6.3#76005)