You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2018/02/17 15:51:00 UTC
[jira] [Updated] (ISIS-894) Remove @NotPersistable annotation and
corresponding facet
[ https://issues.apache.org/jira/browse/ISIS-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood updated ISIS-894:
-----------------------------
Fix Version/s: (was: 3.0.0)
2.0.0
> Remove @NotPersistable annotation and corresponding facet
> ---------------------------------------------------------
>
> Key: ISIS-894
> URL: https://issues.apache.org/jira/browse/ISIS-894
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Affects Versions: core-1.6.0
> Reporter: Dan Haywood
> Priority: Minor
> Fix For: 2.0.0
>
>
> This annotation is a no-op (tested in Wicket and Restful Objects) and should be removed from the applib
> ... perhaps. Looking again at the code, there's a check in PersistenceSession#makePersistent() and throws exception if attempt to explicitly persist.
> However, JDO might persist anyway due to persistence-by-reachability, so the check would need to be added to the appropriate JDO lifecycle callback.
> As I think all the above is marginal benefit, think we should just remove in 2.0.0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)