[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4229) Enable optimistic locking for "Generate Hibernate/JPA annotations"

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Apr 23 09:53:40 EDT 2009


Enable optimistic locking for "Generate Hibernate/JPA annotations"
------------------------------------------------------------------

                 Key: JBIDE-4229
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4229
             Project: Tools (JBoss Tools)
          Issue Type: Sub-task
          Components: Hibernate
    Affects Versions: 3.0.0.GA
            Reporter: Vitali Yemialyanchyk
            Assignee: Vitali Yemialyanchyk
            Priority: Minor
             Fix For: 3.1.0.M1


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list