| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private CacheMode | |
| private String | |
| private Serializable | |
| private String | |
| private FlushMode | |
| private Map | |
| private Map | |
| private String | |
| private Serializable | |
| private Object | |
| protected final ParameterMetadata | |
| private final String | |
| private Boolean | |
| private ResultTransformer | |
| private RowSelection | |
| protected final SessionImplementor | |
| private CacheMode | |
| private FlushMode | |
| private List | |
| private static final Object | |
| private static final Object | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | AbstractQueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected Type | |
| protected Type | |
| protected Type | |
| protected Type | |
| protected Type | |
| private String | expandParameterList(String query, String name, TypedValue typedList, Map<K, V> namedParamsCopy)
Warning adds new parameters to the argument by side-effect, as well as mutating the query string! |
| protected String | expandParameterLists(Map<K, V> namedParamsCopy)
Warning adds new parameters to the argument by side-effect, as well as mutating the query string! |
| public CacheMode | |
| public abstract LockOptions | |
| protected Map | Returns: The parameter list value map.Retreive the value map for any named parameter lists (i.e., for auto-expansion) bound to this query. |
| public String[] | Returns: Array of named parameter names.Implements org. |
| protected Map | Returns: Shallow copy of the named parameter value mapReturns a shallow copy of the named parameter value map. |
| public ParameterMetadata | |
| public QueryParameters | |
| public final String | |
| public String[] | getReturnAliases()
Implements org. |
| public Type[] | getReturnTypes()
Implements org. |
| protected RowSelection | |
| public RowSelection | |
| pack-priv SessionImplementor | |
| protected List | |
| protected List | Returns: The ordinal parameter values.Retreives the list of parameter values bound to this query for ordinal parameters. |
| private Type | |
| private Type | |
| public boolean | Returns: True if the query was found to contain named parameters; false otherwise;Does this query contain named parameters? |
| public boolean | isReadOnly()
Implements org. |
| private String | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | setCacheable(boolean
Should the query results be cacheable? cacheable)Implements org. |
| public Query | setCacheMode(CacheMode cacheMode)
Implements org. |
| public Query | setCacheRegion(String
the name of a query cache region, or null
for the default query cache cacheRegion)Implements org. |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | setComment(String
a human-readable string comment)Implements org. |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | setEntity(int
the position of the parameter in the query
string, numbered from 0. position, Object a non-null instance of a persistent class val)Implements org. |
| public Query | setEntity(String
the name of the parameter name, Object a non-null instance of a persistent class val)Implements org. |
| public Query | setFetchSize(int
the fetch size fetchSize)Implements org. |
| public Query | setFirstResult(int
a row number, numbered from 0 firstResult)Implements org. |
| public Query | |
| public Query | |
| public Query | setFlushMode(FlushMode flushMode)
Implements org. |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | setMaxResults(int
the maximum number of rows maxResults)Implements org. |
| public void | |
| public void | |
| public void | |
| public Query | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the possibly-null parameter value val, Type the Hibernate type type)Implements org. |
| public Query | setParameter(String
the name of the parameter name, Object the possibly-null parameter value val, Type the Hibernate type type)Implements org. |
| public Query | setParameter(int
the position of the parameter in the query
string, numbered from 0. position, Object the non-null parameter value val)Implements org. |
| public Query | setParameter(String
the name of the parameter name, Object the non-null parameter value val)Implements org. |
| public Query | setParameterList(String
the name of the parameter name, Collection<E> a collection of values to list vals, Type the Hibernate type of the values type)Implements org. |
| public Query | setParameterList(String
the name of the parameter name, Collection<E> a collection of values to list vals)Implements org. |
| public Query | setParameterList(String
the name of the parameter name, Object[] a collection of values to list vals, Type the Hibernate type of the values type)Implements org. |
| public Query | setParameterList(String
the name of the parameter name, Object[] a collection of values to list vals)Implements org. |
| public Query | setParameters(Object[] values, Type[] types)
Implements org. |
| public Query | setProperties(Map<K, V>
a java.util.Map map)Implements org. |
| public Query | setProperties(Object
any JavaBean or POJO bean)Implements org. |
| public Query | setReadOnly(boolean
true, entities and proxies loaded by the query will be put in read-only mode
false, entities and proxies loaded by the query will be put in modifiable mode readOnly)Implements org. |
| public Query | setResultTransformer(ResultTransformer
The transformer to apply transformer)Implements org. |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | |
| public Query | setTimeout(int
the timeout in seconds timeout)Implements org. |
| public Query | |
| public Query | |
| public String | |
| public Type[] | |
| pack-priv static Object | |
| public Object | uniqueResult()
Implements org. |
| public Object[] | |
| protected void | |
| protected void | verifyParameters(boolean
if true, the first ? will not be verified since
its needed for e.g. callable statements returning a out parameter reserveFirstParameter)Perform parameter validation. |