XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Minor Minor
    • 3.1.0.M1
    • 3.0.0.GA
    • hibernate
    • None

      annotate with @Version:
      a) if there is property "version" - annotate it or getter
      b) if there is no property "version" - create it and getter/setter and annotate it or getter
      c) if there is @MappedSuperclass with "version" - base class for the current class - do not insert "version" into the current class, it should be inserted or exist in the super class;

      add a checkbox "Enable optimistic locking" to control this from "Generate Hibernate/JPA annotations" wizard.

              aklimkovich Anton Klimkovich (Inactive)
              vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: