Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1364

Improve Asciidoc and Javadoc for migrating from DomainObjectContainer#persist() to RepositoryService#persist()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            oscarbou Óscar Bou
            oscarbou Óscar Bou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: