Java org.hibernate SQLQuery fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate SQLQuery fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate SQLQuery.

The text is from its open source code.

Implementation

org.hibernate.SQLQuery has the following implementations.
Click this link to see all its implementation.

Method

SQLQueryaddEntity(String entityName)
Declare a "root" entity, without specifying an alias.
SQLQueryaddEntity(Class entityType)
Declare a "root" entity, without specifying an alias.
SQLQueryaddEntity(String tableAlias, String entityName)
Declare a "root" entity.
SQLQueryaddEntity(String tableAlias, Class entityType)
Declare a "root" entity.
SQLQueryaddJoin(String tableAlias, String path)
Declare a join fetch result.
SQLQueryaddScalar(String columnAlias, Type type)
Declare a scalar query result.
SQLQueryaddScalar(String columnAlias)
Declare a scalar query result.
SQLQueryaddSynchronizedEntityClass(Class entityClass)
StringgetQueryString()
Get the query string.
Listlist()
Return the query results as a List.
ScrollableResultsscroll(ScrollMode scrollMode)
Return the query results as ScrollableResults.
ScrollableResultsscroll()
Return the query results as ScrollableResults.
QuerysetBigDecimal(int position, BigDecimal val)
Bind a positional BigDecimal-valued parameter.
QuerysetBigInteger(int position, BigInteger val)
Bind a positional BigDecimal-valued parameter.
QuerysetBinary(int position, byte[] val)
Bind a positional binary-valued parameter.
QuerysetBoolean(int position, boolean val)
Bind a positional boolean-valued parameter.
NativeQuerysetCacheable(boolean cacheable)
NativeQuerysetCacheRegion(String cacheRegion)
QuerysetCharacter(int position, char val)
Bind a positional char-valued parameter.
NativeQuerysetComment(String comment)
QuerysetDate(int position, Date val)
Bind a positional Date-valued parameter using just the Date portion.
QuerysetDouble(int position, double val)
Bind a positional double-valued parameter.
NativeQuerysetFetchSize(int fetchSize)
QuerysetFirstResult(int startPosition)
QuerysetFloat(int position, float val)
Bind a positional float-valued parameter.
NativeQuerysetFlushMode(FlushModeType flushMode)
NativeQuerysetFlushMode(FlushMode flushMode)
QuerysetInteger(int position, int val)
Bind a positional int-valued parameter.
NativeQuerysetLockOptions(LockOptions lockOptions)
QuerysetLong(int position, long val)
Bind a positional long-valued parameter.
QuerysetMaxResults(int maxResult)
NativeQuerysetParameter(QueryParameter

parameter, P val)

NativeQuerysetParameter(Parameter

param, P value)

NativeQuerysetParameter(String name, Object val)
NativeQuerysetParameter(int position, Object val)
NativeQuerysetParameter(QueryParameter

parameter, P val, Type type)

NativeQuerysetParameter(String name, Object val, Type type)
NativeQuerysetParameter(int position, Object val, Type type)
NativeQuerysetParameter(QueryParameter

parameter, P val, TemporalType temporalType)

NativeQuerysetParameter(String name, P val, TemporalType temporalType)
NativeQuerysetParameter(int position, P val, TemporalType temporalType)
NativeQuerysetParameter(Parameter param, Calendar value, TemporalType temporalType)
NativeQuerysetParameter(Parameter param, Date value, TemporalType temporalType)
NativeQuerysetParameter(String name, Calendar value, TemporalType temporalType)
NativeQuerysetParameter(String name, Date value, TemporalType temporalType)
NativeQuerysetParameter(int position, Calendar value, TemporalType temporalType)
NativeQuerysetParameter(int position, Date value, TemporalType temporalType)
NativeQuerysetParameterList(QueryParameter

parameter, Collection

values)

NativeQuerysetParameterList(String name, Collection values)
NativeQuerysetParameterList(String name, Object[] values)
NativeQuerysetParameterList(String name, Collection values, Type type)
NativeQuerysetParameterList(String name, Object[] values, Type type)
NativeQuerysetProperties(Object bean)
NativeQuerysetProperties(Map bean)
NativeQuerysetReadOnly(boolean readOnly)
QuerysetResultTransformer(ResultTransformer transformer)
Set a strategy for handling the query results.
QuerysetSerializable(int position, Serializable val)
Bind a positional binary-valued parameter using serialization.
QuerysetString(int position, String val)
Bind a positional String-valued parameter.
NativeQuerysetTimeout(int timeout)
QuerysetTimestamp(int position, Date val)
Bind a positional Date-valued parameter using the full Timestamp.
RuniqueResult()
Convenience method to return a single instance that matches the query, or null if the query returns no results.