[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1181) hbm2hbmxml: does not changes the default name of column property specified in reveng.xml file
noname (JIRA)
noreply at atlassian.com
Wed Apr 6 18:06:59 EDT 2011
hbm2hbmxml: does not changes the default name of column property specified in reveng.xml file
----------------------------------------------------------------------------------------------
Key: HBX-1181
URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1181
Project: Hibernate Tools
Issue Type: Bug
Components: reverse-engineer
Affects Versions: 3.2.1
Environment: hibernate-core 3.2.3.GA
hibernate-tools 3.2.3.GA
Reporter: noname
Attachments: Reverse_Engg_Test.zip
I am using hibernate maven plugin to execute hibernate reverse engineering process.
This process reads the hibernate.reveng.xml file and generates the .hbm.xml files and POJOs.
For one database table i want to change the name of the property mapped to a column.
This is the change that i made to hibernate.reveng.xml file for that column:
Code:
<table name="HIBERNATETEST">
<column name="HANDLER" property="handlerAudit"/>
</table>
But still default property name "handler" is being generated for this column in both .hbm.xml and Pojos.
Reference http://docs.jboss.org/tools/3.1.0.GA/en/hibernatetools/html/reverseengineering.html
For test, i created a sample project and it also has generated hbm.xml and pojo.
My env is oracle database
hibernate-tools 3.2.3.GA
hibernate-core 3.3.2.GA
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list