1
내가 다음 HQL에 DetachedCriteria 동등한 필요 필요 :DetachedCriteria 상당
select obj
from Objects obj, Text text
where obj.TextId = text.TextId and <Some_Other_Condition>
order by text.Value
고맙습니다을
내가 다음 HQL에 DetachedCriteria 동등한 필요 필요 :DetachedCriteria 상당
select obj
from Objects obj, Text text
where obj.TextId = text.TextId and <Some_Other_Condition>
order by text.Value
고맙습니다을
그것은 모든 매핑 된 객체 여기
의 의존은 예입니다입니다 :var criteriaObject = DetachedCriteria.For(typeof(Objects))
.CreateAlias("TextReference", "text")
.Add(Restrictions.Eq("Activate", true))
.AddOrder(new Order("text.Value", true));
희망 하시겠습니까?