Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]Hibernate version:2[/b]
[b]Name and version of the database you are using:Oracle9i[/b]
[b]The generated SQL (show_sql=true):[/b]
In Hibernate in every .hbm.xml file generated by XDoclet I see a Hibernate comment as follows
--------
<!--
To add non XDoclet property mappings, create a file named
hibernate-properties-Request.xml
containing the additional properties and place it in your merge dir.
-->
---------
I want to use this file to create some mapping columns (virtual columns) to specify aliases for aggregrate functions in queries where I use aggregrate functions like count, avg, sum etc which are not exactly mapping to the underlying column of the table.
How do I create this file . It would be great if someone can post a sample & also what is this merge directory . where should I place this file so its picked up accordingly
Do post your thoughts on the same
Regards