Interface EntityEntryVersioned


public interface EntityEntryVersioned
Interface to be implemented by optimistically locked entities.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setVersion(Object version)
    Do not set version if you are not sure - it must be null for a new entity or loaded from the database for a persistent one.
  • Method Details

    • getVersion

      Object getVersion()
    • setVersion

      void setVersion(Object version)
      Do not set version if you are not sure - it must be null for a new entity or loaded from the database for a persistent one.