开发者

whats similar like spring to execute hibernateTemplate.findByCriteria(detachedCriteria) in struts & Hibernate?

What's similar like spring to execute hibernateTemplate.findByCriteria(detachedCriteria) in struts & Hibern开发者_开发技巧ate?

In spring we can execute hibernateTemplate.findByCriteria(detachedCriteria) using HibernateTemplate of Spring, but how can we execute that detached criteria using hibernate session?

session.SOMETHING(detacherdCriteria); OR something else ?


I got my answer:

detachedCriteria.getExecutableCriteria(session).list();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜