[ https://issues.apache.org/jira/browse/POLYGENE-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niclas Hedhman resolved POLYGENE-268. ------------------------------------- Resolution: Won't Fix Assignee: Niclas Hedhman I have spent a lot of time thinking about this... Although this is a semantic inconsistency, there is relatively little value to expel the effort to always invalidate the entities and when the user needs to access some properties, the extra effort of a toValue() would both be needed as well as taking up compute resources. So, in light of this, I want to close this issue. > Entities are accessible after UoW is closed > ------------------------------------------- > > Key: POLYGENE-268 > URL: https://issues.apache.org/jira/browse/POLYGENE-268 > Project: Polygene > Issue Type: Bug > Reporter: Niclas Hedhman > Assignee: Niclas Hedhman > Priority: Major > > Although the UnitOfWork has been closed, the properties of those entities are > still accessible. This should not be the case. > IF one needs to 'detach' there is UnitOfWork.toValue() that can convert the > entity to a value. -- This message was sent by Atlassian JIRA (v7.6.3#76005)