-->
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: Hibernate one to one performance
PostPosted: Wed May 13, 2009 11:50 am 
Newbie

Joined: Fri Mar 13, 2009 10:36 am
Posts: 10
I have a Subscriber and this subscriber has a one to one relationship with Address and Account.
Both are bi-directional relationships
When I do a Session.load it generates a query with outer-join instead of inner join.

I know that I can use a Constrained = true but my question is does it matter in terms of performance if a inner or outer join is used since its a one-to-one relationship and my code guarantees that for every subscriber there will be one Address and one Account object.

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