@java.lang.SuppressWarnings("rawtypes") public class AssociationQuery extends Query implements Query.Criterion
Used to capture the metadata for a query on an associated object.
Modifiers | Name | Description |
---|---|---|
private Association<?> |
association |
Fields inherited from class | Fields |
---|---|
class Query |
criteria, entity, fetchStrategies, joinTypes, lockResult, max, offset, orderBy, projections, queryCache, session, uniqueResult |
Constructor and description |
---|
protected AssociationQuery
(Session session, PersistentEntity entity, Association association) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.util.List |
executeQuery(PersistentEntity e, Junction j) |
|
public Association<?> |
getAssociation() The association being queried |
Methods inherited from class | Name |
---|---|
class Query |
add, add, addToJunction, allEq, and, between, cache, clone, conjunction, conjunction, createQuery, disjunction, disjunction, doList, eq, executeQuery, fetchStrategy, findInstanceId, firstResult, flushBeforeQuery, ge, getCriteria, getEntity, getOrderBy, getSession, gt, gte, idEq, ilike, in, isEmpty, isNotEmpty, isNotNull, isNull, join, join, le, like, list, lock, lock, lt, lte, max, maxResults, negation, negation, offset, or, order, patternToRegex, projections, resolveIdIfEntity, resolvePropertyValue, rlike, select, setUniqueResult, singleResult |
The association being queried