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();
精彩评论