These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Regarding Merge Dir
PostPosted: Wed Aug 16, 2006 9:06 am 
Newbie

Joined: Thu Jul 27, 2006 10:35 am
Posts: 16
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.