Uploaded image for project: 'Spring Data Neo4j'
  1. Spring Data Neo4j
  2. DATAGRAPH-1081

Support @Version annotation of OGM 3.1

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.1 RC1 (Lovelace)
    • Component/s: None
    • Labels:
      None

      Description

      Neo4j OGM 3.1 has a new annotation @Version for optimistic locking. In a JPA-project the similar annotation (java.persistance.Version) leads to an ETag in the HTTP-header. This is not the case right now in my Neo4j project, probably because Neo4jPersistentEntity needs to be updated. For instance the method hasVersionProperty returns false "by design".

        Attachments

          Activity

            People

            Assignee:
            gerrit.meier Gerrit Meier
            Reporter:
            michael.igler Michael Igler
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: