public class DetachedCriteria
- extends Object
- implements CriteriaSpecification, Serializable
Some applications need to create criteria queries in "detached mode", where the Hibernate session is not available. This class may be instantiated anywhere, and then a Criteria may be obtained by passing a session to getExecutableCriteria() . All methods have the same semantics and behavior as the corresponding methods of the Criteria interface.
No comments:
Post a Comment