-->
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 ouer join with string literal
PostPosted: Wed Mar 18, 2009 2:07 pm 
Newbie

Joined: Sat Mar 14, 2009 2:42 pm
Posts: 4
Hi All,

Is it possibe to implement the outer join with string literal ?
I have no permission to use session.createSqlQuery()

I will have to use HQL using session.createQuery().

I want to implement the following SQL in hibernate.

SQL ::
select <specified output>
from tableA a, tableB b
where
a.id = b.id (+)
a.name = b.name (+)
a.address (+) not in ('KOL', 'MUM')

Can any one please help me how can I implement the above SQL ?

Please give me a detailed step (changes in mapping file, pojo object etc) for the implementaion.

Thank you in advanced.

Thanks and regards --
Sumanta Bhattacharyya


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.