-->
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 do in Criteria
PostPosted: Wed Nov 24, 2010 2:05 am 
Newbie

Joined: Wed Nov 24, 2010 1:59 am
Posts: 1
Dear all,

I would like to know, How to do in Criteria

select psr.Profile_MasterID, pel.ECP_MasterID, psr.MobileNumber
from dbo.PatientSearchResult psr
left join (Select * from Profile_ECP_Linkage
Where ECP_MasterID != @Logged_ECP_ID) pel on
psr.Profile_MasterID = pel.Profile_MasterID
where pel.Id is null


Note : @Logged_ECP_ID is from user defined Id


Thank you,

Regards and Meeta,
Ichirohang


Top
 Profile  
 
 Post subject: Re: How to do in Criteria
PostPosted: Wed Dec 01, 2010 8:49 am 
Regular
Regular

Joined: Fri Feb 18, 2005 3:34 am
Posts: 88
Location: Poland/Wrocław
What does your mapping look like?

_________________
Please rate this post if you've found it helpfull
Roland


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.