-->
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: how to pass partition hints to hibernate relation methods
PostPosted: Thu Jun 09, 2005 10:04 pm 
Newbie

Joined: Wed Apr 20, 2005 10:57 pm
Posts: 6
Hibernate 3.0.5

How do i pass partition keys to related methods. I have BUSINESS_ID on all my tables and i partition my oracle database based on business_id column.

In most of my queries I pass the BUSINESS_ID as my parameter but if an object has a relationship with some other object say a User Object has a 1-->n relationship with a Role object and I call user.getRoles the query generated will have the the appropriate foreign key column but additionally the query needs to add the BUSINESS_ID column.

How do i achieve this?

Thanks


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.