XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.0 M1
    • Fix Version/s: 5.1 RC1 (Lovelace)
    • Component/s: None
    • Labels:
      None

      Description

      We need to support @Version for Node and Relationship-backed entities

      We'll use Long ids and persist them in the database.

      Loading: Object with @Version attribute will have their version attribute set automatically by the mapper from the node or relationship property. There is no need to do anything "magic" here.

      Saving: Objects with @Version attribute set will have an additional WHERE clause added to the Cypher query, which checks the version. Additionally, we will need to know whether the update was successful, so we need to return something (e.g. the version of the current object?).

        Attachments

          Activity

            People

            Assignee:
            gerrit.meier Gerrit Meier
            Reporter:
            luanne@graphaware.com Luanne Misquitta
            Last updater:
            Mark Paluch
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: