-->
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.  [ 4 posts ] 
Author Message
 Post subject: How can i use 'and' with joins?
PostPosted: Tue Jun 29, 2010 10:16 am 
Newbie

Joined: Tue Aug 18, 2009 9:20 am
Posts: 5
How can i use 'and' with join like this.

SELECT * FROM PMO_TBLREVENUEMASTER RM
LEFT OUTER JOIN PMO_TBLPROJECTREVENUE PR ON
RM.REVENUEMASTERID=PR.REVENUEMASTERID AND PR.PROJECTID=785

Regards,
narrator


Top
 Profile  
 
 Post subject: Re: How can i use 'and' with joins?
PostPosted: Tue Jun 29, 2010 11:19 am 
Newbie

Joined: Wed Feb 10, 2010 7:19 pm
Posts: 12
Even i have the same senario. Just waiting for the reply


Top
 Profile  
 
 Post subject: Re: How can i use 'and' with joins?
PostPosted: Thu Jul 01, 2010 3:57 am 
Newbie

Joined: Thu Jul 01, 2010 3:51 am
Posts: 3
You must use Hibernate 3.5.

There you will have available this method:

public Criteria createCriteria(String associationPath, String alias, int joinType, Criterion withClause)


Top
 Profile  
 
 Post subject: Re: How can i use 'and' with joins?
PostPosted: Fri Jul 02, 2010 1:24 am 
Newbie

Joined: Tue Aug 18, 2009 9:20 am
Posts: 5
Thanks for the reply.

Can use the same in nHibernate? Sorry for asking nHibernate related question here.

narrator


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.