@java.lang.SuppressWarnings("rawtypes") public class HibernateQuery extends AbstractHibernateQuery
Bridges the Query API with the Hibernate Criteria API
Modifiers | Name | Description |
---|---|---|
static HibernateCriterionAdapter |
HIBERNATE_CRITERION_ADAPTER |
Fields inherited from class | Fields |
---|---|
class AbstractHibernateQuery |
ALIAS, SIZE_CONSTRAINT_PREFIX, abstractHibernateCriterionAdapter, alias, aliasCount, aliasInstanceStack, aliasStack, associationStack, conversionService, createdAssociationPaths, criteria, detachedCriteria, entityStack, hibernateProjectionList, opField, proxyHandler |
Constructor and description |
---|
HibernateQuery(org.hibernate.Criteria criteria, AbstractHibernateSession session, org.grails.datastore.mapping.model.PersistentEntity entity) |
HibernateQuery(org.hibernate.Criteria criteria, org.grails.datastore.mapping.model.PersistentEntity entity) |
HibernateQuery(org.hibernate.Criteria subCriteria, AbstractHibernateSession session, org.grails.datastore.mapping.model.PersistentEntity associatedEntity, java.lang.String newAlias) |
HibernateQuery(org.hibernate.criterion.DetachedCriteria criteria, org.grails.datastore.mapping.model.PersistentEntity entity) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Object |
clone() |
|
protected AbstractHibernateCriterionAdapter |
createHibernateCriterionAdapter() |
|
protected org.hibernate.criterion.Criterion |
createRlikeExpression(java.lang.String propertyName, java.lang.String value) |
|
protected org.hibernate.dialect.Dialect |
getDialect(org.hibernate.SessionFactory sessionFactory) |
|
protected org.hibernate.persister.entity.PropertyMapping |
getEntityPersister(java.lang.String name, org.hibernate.SessionFactory sessionFactory) |
|
public org.hibernate.Criteria |
getHibernateCriteria()
|
|
protected org.hibernate.type.TypeResolver |
getTypeResolver(org.hibernate.SessionFactory sessionFactory) |
|
protected java.lang.String |
render(org.hibernate.type.BasicType basic, java.util.List<java.lang.String> columns, org.hibernate.SessionFactory sessionFactory, org.hibernate.dialect.function.SQLFunction sqlFunction) |
|
protected void |
setDetachedCriteriaValue(org.grails.datastore.mapping.query.api.QueryableCriteria value, PropertyCriterion pc) |
Methods inherited from class | Name |
---|---|
class AbstractHibernateQuery |
add, addToCriteria, allEq, and, applyDefaultSortOrderAndCaching, applyFetchStrategies, between, cache, calculatePropertyName, createHibernateCriterionAdapter, createQuery, createRlikeExpression, disjunction, eq, executeQuery, firstResult, flushBeforeQuery, ge, generateAlias, getAssociationPath, getCriteriaAndAlias, getCriteriaAndAlias, getCurrentAlias, getDialect, getEntity, getEntityPersister, getHibernateCriterionAdapter, getOrCreateAlias, getTypeResolver, gt, gte, idEq, ilike, in, initializeJoinStatus, isEmpty, isNotEmpty, isNotNull, isNull, join, le, like, list, listForCriteria, lock, lt, lte, max, maxResults, negation, offset, or, order, projections, render, resolveIdIfEntity, rlike, select, setDetachedCriteriaValue, singleResult |