| java.lang.Object org.compass.gps.device.hibernate.DefaultHibernateQueryProvider
DefaultHibernateQueryProvider | public class DefaultHibernateQueryProvider implements HibernateQueryProvider(Code) | | A simple Hibernate query provider based on a select statement. The select
statement can be automatically generated based on the entity name
as well.
author: kimchy |
DefaultHibernateQueryProvider | public DefaultHibernateQueryProvider(Class entityClass, String entityName)(Code) | | Creates a new query provider based on the entity name. The select
statement is from entityName .
Parameters: entityClass - The entity class Parameters: entityName - The entity name |
DefaultHibernateQueryProvider | public DefaultHibernateQueryProvider(String selectQuery)(Code) | | Creates a new query provider based on the provided select statement.
Parameters: selectQuery - The select query |
createCriteria | public Criteria createCriteria(Session session, EntityInformation entityInformation)(Code) | | Creates the Hibernate criteria for the given entity information. Returns
null if the select query is set.
|
createQuery | public Query createQuery(Session session, EntityInformation entityInformation)(Code) | | Creates a query based on the select statement initlaized in the query provider
construction.
|
|
|