org.hibernate.shards.criteria
Interface CriteriaFactory

All Known Implementing Classes:
CriteriaFactoryImpl

public interface CriteriaFactory

Factory that knows how to create a Criteria for a given Session

Author:
maxr@google.com (Max Ross)

Method Summary
 org.hibernate.Criteria createCriteria(org.hibernate.Session session)
          Create a Criteria for the given Session
 

Method Detail

createCriteria

org.hibernate.Criteria createCriteria(org.hibernate.Session session)
Create a Criteria for the given Session

Parameters:
session - the Session to be used when creating the Criteria
Returns:
a Criteria associated with the given Session