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
|
|