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

[Persistence] Cleanup ambiguous EntityState Terminology

    XMLWordPrintableJSON

Details

    Description

      In the framework's context DETACHED just means PERSISTABLE but currently NOT-ATTACHED.

      However, within JDO and JPA context, DETACHED means that an entity can be still worked with then be made persistent again later, whilst the persistence layer will have kept track of any changes in between.

      While JDO supports this technology, we historically never enabled it. Instead the framework relies on Bookmarks/OIDs to re-fetch entities, should there be an interaction.

      JDO instead offers the lightweight HOLLOW state for entities, which JPA does not.

      So my goal is to clean up the EntityState enum, perhaps rename some of the states and correct any ambiguous associated java-doc.

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: