public abstract class AbstractLoadQueryImpl extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractLoadQueryImpl(List<JoinableAssociation> associations) |
Modifier and Type | Method and Description |
---|---|
protected String |
associationSelectString(LoadQueryAliasResolutionContext aliasResolutionContext)
Generate a select list of columns containing all properties of the entity classes
|
protected static String |
mergeOrderings(String ordering1,
String ordering2) |
protected JoinFragment |
mergeOuterJoins(SessionFactoryImplementor factory,
LoadQueryAliasResolutionContext aliasResolutionContext)
Generate a sequence of LEFT OUTER JOIN clauses for the given associations.
|
protected static String |
orderBy(List<JoinableAssociation> associations,
LoadQueryAliasResolutionContext aliasResolutionContext)
Get the order by string required for collection fetching
|
protected String |
orderBy(String orderBy,
LoadQueryAliasResolutionContext aliasResolutionContext) |
protected StringBuilder |
whereString(String alias,
String[] columnNames,
int batchSize)
Render the where condition for a (batch) load by identifier / collection key
|
protected AbstractLoadQueryImpl(List<JoinableAssociation> associations)
protected String orderBy(String orderBy, LoadQueryAliasResolutionContext aliasResolutionContext)
protected final JoinFragment mergeOuterJoins(SessionFactoryImplementor factory, LoadQueryAliasResolutionContext aliasResolutionContext) throws MappingException
MappingException
protected static String orderBy(List<JoinableAssociation> associations, LoadQueryAliasResolutionContext aliasResolutionContext) throws MappingException
MappingException
protected StringBuilder whereString(String alias, String[] columnNames, int batchSize)
protected final String associationSelectString(LoadQueryAliasResolutionContext aliasResolutionContext) throws MappingException
MappingException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.