-->
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.  [ 2 posts ] 
Author Message
 Post subject: HQL and left outer join without mapping the relation
PostPosted: Tue Jun 22, 2004 10:35 am 
Newbie

Joined: Mon Feb 02, 2004 10:12 am
Posts: 5
Hi,

I've got a question about HQL and outer joins.
I use Hibernate 2.1.4.

I would like to do an outer join between two tables without mapping the relation. The relation is a one-to-one but this relation is used only once and I don't want to do the mapping. The reason is that the table B needs to be a proxy, instead, when loading A the query will also load B.
But B is also used elsewhere...

So, can I use HQL to do something like :

Code:
select
   [...]
from
   A
   left outer join B on (conditions ...)
where
   [...]


Thanks
Jerome


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 11:14 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
no, not possible


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.