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: Many-to-one mapping and use of different queries with this
PostPosted: Thu Jun 02, 2005 11:22 am 
Newbie

Joined: Thu Jun 02, 2005 11:05 am
Posts: 1
Hi,

I have an entity called Country which has a many-to-one relationship with Region. I have given this in the hbm. But while querying i want to ignore the association at particular times. For eg at one instance i have a query that will join on Region where as in another instance i will have a simple select from the Country alone. Is this possible? If so what should be the settings.

Thanx
Sanju


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.