|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.shards.criteria.CriteriaFactoryImpl
public class CriteriaFactoryImpl
Implementation of the CriteriaFactory
interface.
Session.createCriteria(Class)
,
Session.createCriteria(Class, String)
,
Session.createCriteria(String)
,
Session.createCriteria(String, String)
Constructor Summary | |
---|---|
CriteriaFactoryImpl(Class persistentClass)
Create a CriteriaFactoryImpl. |
|
CriteriaFactoryImpl(Class persistentClass,
String alias)
Create a CriteriaFactoryImpl. |
|
CriteriaFactoryImpl(String entityName)
Create a CriteriaFactoryImpl. |
|
CriteriaFactoryImpl(String entityName,
String alias)
Create a CriteriaFactoryImpl. |
Method Summary | |
---|---|
org.hibernate.Criteria |
createCriteria(org.hibernate.Session session)
Create a Criteria for the given Session |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CriteriaFactoryImpl(Class persistentClass)
persistentClass
- the Class
of the Criteria
we're creating.public CriteriaFactoryImpl(Class persistentClass, String alias)
persistentClass
- the Class
of the Criteria
we're creating.alias
- the alias of the Criteria
we're creating.public CriteriaFactoryImpl(String entityName)
entityName
- the entity name of the Criteria
we're creating.public CriteriaFactoryImpl(String entityName, String alias)
entityName
- the entity name of the Criteria
we're creating.alias
- the alias of the Criteria
we're creating.Method Detail |
---|
public org.hibernate.Criteria createCriteria(org.hibernate.Session session)
CriteriaFactory
Criteria
for the given Session
createCriteria
in interface CriteriaFactory
session
- the Session
to be used when creating the Criteria
Criteria
associated with the given Session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |