-->
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: Pls Very urgent
PostPosted: Wed Sep 05, 2007 1:51 am 
Newbie

Joined: Tue Sep 04, 2007 11:18 am
Posts: 1
I am new to hibernate, can someone help with me with this?

I am working with hibernate3.2.4 sp1 and Oracle9i as database. I have two tables: UserDetails and Content.There is a many-to-one mapping between UserDetails and Content. For each user addded a content is associated with it.I want the no.of users associated with each content.
Is it possible to have a query for this in the mapping xml and have it as a property in my Content.java? Or is there any other way of handling this?


Thanks in Advance
Kavitha.R


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.