XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: