| java.lang.Object org.compass.gps.device.jpa.queryprovider.DefaultJpaQueryProvider
All known Subclasses: org.compass.gps.device.jpa.queryprovider.HibernateJpaQueryProvider,
DefaultJpaQueryProvider | public class DefaultJpaQueryProvider implements JpaQueryProvider(Code) | | A simple Jpa query provider based on a select statement. The select
statement can be automatically generated based on the entity name
as well.
author: kimchy |
DefaultJpaQueryProvider | public DefaultJpaQueryProvider(Class> entityClass, String entityName)(Code) | | Creates a new query provider based on the entity name. The select
statement is select x from entityName x .
Parameters: entityClass - The entity class Parameters: entityName - The entity name |
DefaultJpaQueryProvider | public DefaultJpaQueryProvider(String selectQuery)(Code) | | Creates a new query provider based on the provided select statement.
Parameters: selectQuery - The select query |
createQuery | public Query createQuery(EntityManager entityManager, EntityInformation entityInformation)(Code) | | Creates a query based on the select statement initlaized in the query provider
construction.
|
isUsingDefaultSelectQuery | protected boolean isUsingDefaultSelectQuery()(Code) | | |
|
|