[
https://jira.jboss.org/jira/browse/JBIDE-4229?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk reassigned JBIDE-4229:
-------------------------------------------
Assignee: Anton Klimkovich (was: Vitali Yemialyanchyk)
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: Anton Klimkovich
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