Usages ofselect sdservicer0_.ProblemId as col_0_0_ from sd_servicereqmaster sdservicer0_ where sdservicer0_.ParentID=? and (sdservicer0_.CurrentStatus not in (select sdstatecat1_.StateID from sd_statecategory_details sdstatecat1_ where sdstatecat1_.StateCategoryID in (? , ?)))