Hi,
We have just migrated from Hibernate2 to Hibernate3 in our application. Our application involves generation of the hbm files and the java files through the ant tasks provided by Hibernate. We are encountering an issue with the naming of the properties in the java files and the hbms. The earlier version of Hibernate tools used generate the java files and hbm with some naming convention, and the current version generates the properties in camel-case. Because of this some of our use cases are failing where we had hardcoded the HQLs(which is a separate issue in itself).
Is there any way where we can specify Hibernate tools to generate the java and hbms files which will make it compatible with previous version? Specifically, can we tell Hibernate tools to use the same naming convention that it had used in the earlier version?
Any help is appreciated.
Thank you.
|