Criteria crit=hbSession.createCriteria(S1.class)
.add(Restrictions.between("s1Docdt",startDate, endDate))
.add(Restrictions.eq("s1BranchCode",branchCode))
.add(Restrictions.eq("s1AccountingYear",year));
crit.addOrder(Order.asc("s1Docdt","s1Dcno","s1Tc");
我已經創建了一個會話,並試圖添加限制,並得到一個錯誤,所以任何人都可以幫助我。休眠標準order by
...錯誤是什麼? – 2012-08-10 05:13:23