Bridges the Query API with the Hibernate Criteria API
Modifiers | Name | Description |
---|---|---|
protected class |
AbstractHibernateQuery.CriteriaAndAlias |
|
protected class |
AbstractHibernateQuery.HibernateAssociationQuery |
|
protected class |
AbstractHibernateQuery.HibernateJunction |
|
protected class |
AbstractHibernateQuery.HibernateProjectionList |
Modifiers | Name | Description |
---|---|---|
protected static java.lang.String |
ALIAS |
|
static java.lang.String |
SIZE_CONSTRAINT_PREFIX |
|
protected AbstractHibernateCriterionAdapter |
abstractHibernateCriterionAdapter |
|
protected java.lang.String |
alias |
|
protected int |
aliasCount |
|
protected java.util.LinkedList |
aliasInstanceStack |
|
protected java.util.LinkedList<java.lang.String> |
aliasStack |
|
protected java.util.LinkedList<Association> |
associationStack |
|
protected static org.springframework.core.convert.ConversionService |
conversionService |
|
protected java.util.Map<java.lang.String, CriteriaAndAlias> |
createdAssociationPaths |
|
protected org.hibernate.Criteria |
criteria |
|
protected org.hibernate.criterion.DetachedCriteria |
detachedCriteria |
|
protected java.util.LinkedList<PersistentEntity> |
entityStack |
|
protected HibernateProjectionList |
hibernateProjectionList |
|
protected static java.lang.reflect.Field |
opField |
|
protected ProxyHandler |
proxyHandler |
Fields inherited from class | Fields |
---|---|
class Query |
criteria, entity, fetchStrategies, lockResult, max, offset, orderBy, projections, queryCache, session, uniqueResult |
Constructor and description |
---|
protected AbstractHibernateQuery
(org.hibernate.Criteria criteria, AbstractHibernateSession session, PersistentEntity entity) |
protected AbstractHibernateQuery
(org.hibernate.criterion.DetachedCriteria criteria, PersistentEntity entity) |
protected AbstractHibernateQuery
(org.hibernate.Criteria subCriteria, AbstractHibernateSession session, PersistentEntity associatedEntity, java.lang.String newAlias) |
Type | Name and description |
---|---|
void |
add(org.hibernate.criterion.Criterion criterion) |
protected void |
addToCriteria(org.hibernate.criterion.Criterion criterion) |
Query |
allEq(java.util.Map<java.lang.String, java.lang.Object> values) |
Query |
and(org.hibernate.criterion.Criterion a, org.hibernate.criterion.Criterion b) |
protected void |
applyDefaultSortOrderAndCaching() |
protected void |
applyFetchStrategies() |
Query |
between(java.lang.String property, java.lang.Object start, java.lang.Object end) |
Query |
cache(boolean cache) |
protected java.lang.String |
calculatePropertyName(java.lang.String property) |
protected AbstractHibernateCriterionAdapter |
createHibernateCriterionAdapter() |
AssociationQuery |
createQuery(java.lang.String associationName) |
protected org.hibernate.criterion.Criterion |
createRlikeExpression(java.lang.String propertyName, java.lang.String value) |
org.hibernate.criterion.Junction |
disjunction() |
Query |
eq(java.lang.String property, java.lang.Object value) |
protected java.util.List |
executeQuery(PersistentEntity entity, org.hibernate.criterion.Junction criteria) |
Query |
firstResult(int offset) |
protected void |
flushBeforeQuery() |
Query |
ge(java.lang.String property, java.lang.Object value) |
protected java.lang.String |
generateAlias(java.lang.String associationName) |
protected java.lang.String |
getAssociationPath(java.lang.String propertyName) |
protected AbstractHibernateQuery.CriteriaAndAlias |
getCriteriaAndAlias(DetachedAssociationCriteria associationCriteria) |
protected AbstractHibernateQuery.CriteriaAndAlias |
getCriteriaAndAlias(Association<?> association) |
protected java.lang.String |
getCurrentAlias() |
protected org.hibernate.dialect.Dialect |
getDialect(org.hibernate.SessionFactory sessionFactory) |
PersistentEntity |
getEntity() |
protected org.hibernate.persister.entity.PropertyMapping |
getEntityPersister(java.lang.String name, org.hibernate.SessionFactory sessionFactory) |
protected AbstractHibernateCriterionAdapter |
getHibernateCriterionAdapter() |
protected AbstractHibernateQuery.CriteriaAndAlias |
getOrCreateAlias(java.lang.String associationName, java.lang.String alias) |
protected org.hibernate.type.TypeResolver |
getTypeResolver(org.hibernate.SessionFactory sessionFactory) |
Query |
gt(java.lang.String property, java.lang.Object value) |
Query |
gte(java.lang.String property, java.lang.Object value) |
Query |
idEq(java.lang.Object value) |
Query |
ilike(java.lang.String property, java.lang.String expr) |
Query |
in(java.lang.String property, java.util.List values) |
Query |
isEmpty(java.lang.String property) |
Query |
isNotEmpty(java.lang.String property) |
Query |
isNotNull(java.lang.String property) |
Query |
isNull(java.lang.String property) |
Query |
join(java.lang.String property) |
Query |
le(java.lang.String property, java.lang.Object value) |
Query |
like(java.lang.String property, java.lang.String expr) |
java.util.List |
list() |
Query |
lock(boolean lock) |
Query |
lt(java.lang.String property, java.lang.Object value) |
Query |
lte(java.lang.String property, java.lang.Object value) |
Query |
max(int max) |
Query |
maxResults(int max) |
org.hibernate.criterion.Junction |
negation() |
Query |
offset(int offset) |
Query |
or(org.hibernate.criterion.Criterion a, org.hibernate.criterion.Criterion b) |
Query |
order(org.hibernate.criterion.Order order) |
org.hibernate.criterion.ProjectionList |
projections() |
protected java.lang.String |
render(org.hibernate.type.BasicType basic, java.util.List<java.lang.String> asList, org.hibernate.SessionFactory sessionFactory, org.hibernate.dialect.function.SQLFunction sqlFunction) |
protected java.lang.Object |
resolveIdIfEntity(java.lang.Object value) |
Query |
rlike(java.lang.String property, java.lang.String expr) |
Query |
select(java.lang.String property) |
protected void |
setDetachedCriteriaValue(QueryableCriteria value, PropertyCriterion pc) |
java.lang.Object |
singleResult() |
Methods inherited from class | Name |
---|---|
class Query |
add, add, allEq, and, between, cache, clone, conjunction, createQuery, disjunction, eq, executeQuery, fetchStrategy, firstResult, flushBeforeQuery, ge, getCriteria, getEntity, getOrderBy, getSession, gt, gte, idEq, ilike, in, isEmpty, isNotEmpty, isNotNull, isNull, join, le, like, list, lock, lock, lt, lte, max, maxResults, negation, offset, or, order, patternToRegex, projections, resolveIdIfEntity, rlike, select, setUniqueResult, singleResult |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |