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 2016/04/10 14:57:25 UTC

[jira] [Resolved] (ISIS-1364) Improve Asciidoc and Javadoc for migrating from DomainObjectContainer#persist() to RepositoryService#persist()

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

Dan Haywood resolved ISIS-1364.
-------------------------------
    Resolution: Fixed

> Improve Asciidoc and Javadoc for migrating from DomainObjectContainer#persist() to RepositoryService#persist()
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1364
>                 URL: https://issues.apache.org/jira/browse/ISIS-1364
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.12.0
>            Reporter: Oscar Bou
>            Assignee: Oscar Bou
>             Fix For: 1.13.0
>
>
> DomainObjectContainer#persist() has been deprecated and RepositoryService#persist() might be used instead.
> But current RepositoryService#persist() implementation does not throw an exception if the Domain Object is already persistent, so its behavior is different from the current DomainObjectContainer#persist() one.
> In fact, is identical to DomainObjectContainer#persistIfNotAlready(), which has also been moved to RepositoryService#persistIfNotAlready()
> Improve Asciidoc migration notes and documentation, and also Javadoc on DomainObjectContainer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)