[
https://issues.apache.org/jira/browse/ISIS-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood updated ISIS-894:
-----------------------------
Description:
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
was:This annotation is a no-op (tested in Wicket and Restful Objects) and
should be removed from the applib.
> 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
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: core-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
(v6.3.4#6332)