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

Rename @Property(notPersisted=...) to @Property(mementoSerialization=...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.13.0
    • 2.0.0-M3
    • Core
    • None

    Description

      In which case, the attribute should be deprecated, and a new @Property(notAudited=true) be introduced to replace it.

      It's used by:

      • ChangedObjectServiceInternal to determine if a property has changed; marking it as notPersisted means this functionality is skipped.
      • Memento (which you almost certainly don't use, I think is only used in anger by the Wicket viewer).

      It used to be used by the object persistor for persistence-by-reachability (if notPersisted then don't follow the graph), but I think that responsibility is now entirely that of JDO/DN.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: