-->
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: How to add filter in left join like follows using ICriteria
PostPosted: Thu Dec 04, 2008 10:05 am 
Newbie

Joined: Thu Dec 04, 2008 9:50 am
Posts: 1
SELECT M.PURMaterialID, M.Material, MT.PURMaterialTreeID, MT.COMCompanyID, EMC.ESTEstimationMaterialCoefficientID, EMC.DirectEstimateFlag
FROM PURMaterial AS M
INNER JOIN PURMaterialTree AS MT ON M.PURMaterialID = MT.PURMaterialID
LEFT OUTER JOIN ESTEstimationMaterialCoefficient AS EMC ON
M.PURMaterialID = EMC.PURMaterialID AND EMC.DirectEstimateFlag = 1

Please help me..

_________________
Jophy Wilson,Banglore


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 5:29 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
Afaik, that's not possible right now. But there's a JIRA issue open:

http://jira.nhibernate.org/browse/NH-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224#action_17224

_________________
--Wolfgang


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.