WARN [org.hibernate.hql.ast.QueryTranslatorImpl] -
1
String hsql = "from Head head1 left join fetch head1.postHeads as head2 where head2.id=9";
2
List<Head> list = session.createQuery(hsql).setFirstResult(1).setMaxResults(3).list();
會出現(xiàn)以下提示
2

警告: firstResult/maxResults specified with collection fetch; applying in memory!
posted on 2007-06-23 10:38 濁酒清風 閱讀(752) 評論(0) 編輯 收藏 所屬分類: Exception