You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/10 14:54:25 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15234104#comment-15234104 ]
ASF subversion and git services commented on ISIS-1364:
-------------------------------------------------------
Commit eccd5b7fc284b61da0acc1449d86ce61dd578036 in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=eccd5b7 ]
Merge branch 'ISIS-1364-2nd' of https://github.com/oscarbou/isis into ISIS-1364_pr-41
> 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
>
> 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)