When generating @Version annotation reveng tools should provide ability to set
@Generated(GenerationTime.ALWAYS) and insertable = false, updatable = false for @Column
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: HBX-947
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-947
Project: Hibernate Tools
Issue Type: Improvement
Components: hbm2java, hbm2seam, reverse-engineer
Affects Versions: 3.2beta9, 3.2beta10, 3.2LATER
Environment: all
Reporter: MG
Priority: Minor
When generating @Version annotation reveng tools should provide ability to set
@Generated(GenerationTime.ALWAYS) and insertable = false, updatable = false for @Column.
This behavior sould be configurable via reveng file (I think)
This is needed in case version or timestamp is maintained by DB and not hibernate. (Ex:
sybase timestamp)
hbm.xml have also similar constructs for that, so reveng into hbm.xml might be also
impacted.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira