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="AUDIT_MESSAGE">
<column name="HANDLER" property="handlerAuditMsg"/>
</table>
But still default property name "handler" is being generated for this column in both .hbm.xml and Pojos.
So am i doing any thing wrong here or missing any step.
My env is oracle database
hibernate-tools 3.2.3.GA
hibernate-core 3.3.2.GA