Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.envers.internal.entities.mapper.id | |
org.hibernate.envers.internal.entities.mapper.relation.query | |
org.hibernate.envers.internal.tools.query | |
org.hibernate.envers.query.internal.impl | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.jpa |
Defines Hibernate implementation of Java Persistence specification.
|
org.hibernate.jpa.criteria.compile | |
org.hibernate.jpa.internal | |
org.hibernate.jpa.spi |
Modifier and Type | Interface and Description |
---|---|
interface |
SQLQuery
Represents a "native sql" query.
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.addQueryHint(String hint)
Add a DB query hint to the SQL.
|
Query |
Session.createFilter(Object collection,
String queryString)
Create a
Query instance for the given collection and filter string. |
Query |
SharedSessionContract.createQuery(String queryString)
Create a
Query instance for the given HQL query string. |
Query |
SharedSessionContract.getNamedQuery(String queryName)
Create a
Query instance for the named query string defined in the metadata. |
Query |
Query.setBigDecimal(int position,
BigDecimal number)
Bind a positional BigDecimal-valued parameter.
|
Query |
Query.setBigDecimal(String name,
BigDecimal number)
Bind a named BigDecimal-valued parameter.
|
Query |
Query.setBigInteger(int position,
BigInteger number)
Bind a positional BigDecimal-valued parameter.
|
Query |
Query.setBigInteger(String name,
BigInteger number)
Bind a named BigInteger-valued parameter.
|
Query |
Query.setBinary(int position,
byte[] val)
Bind a positional binary-valued parameter.
|
Query |
Query.setBinary(String name,
byte[] val)
Bind a named binary-valued parameter.
|
Query |
Query.setBoolean(int position,
boolean val)
Bind a positional boolean-valued parameter.
|
Query |
Query.setBoolean(String name,
boolean val)
Bind a named boolean-valued parameter.
|
Query |
Query.setByte(int position,
byte val)
Bind a positional byte-valued parameter.
|
Query |
Query.setByte(String name,
byte val)
Bind a named byte-valued parameter.
|
Query |
Query.setCacheable(boolean cacheable) |
Query |
Query.setCacheMode(CacheMode cacheMode) |
Query |
Query.setCacheRegion(String cacheRegion) |
Query |
Query.setCalendar(int position,
Calendar calendar)
Bind a positional Calendar-valued parameter using the full Timestamp portion.
|
Query |
Query.setCalendar(String name,
Calendar calendar)
Bind a named Calendar-valued parameter using the full Timestamp.
|
Query |
Query.setCalendarDate(int position,
Calendar calendar)
Bind a positional Calendar-valued parameter using just the Date portion.
|
Query |
Query.setCalendarDate(String name,
Calendar calendar)
Bind a named Calendar-valued parameter using just the Date portion.
|
Query |
Query.setCharacter(int position,
char val)
Bind a positional char-valued parameter.
|
Query |
Query.setCharacter(String name,
char val)
Bind a named char-valued parameter.
|
Query |
Query.setComment(String comment)
Set the comment for this query.
|
Query |
Query.setDate(int position,
Date date)
Bind a positional Date-valued parameter using just the Date portion.
|
Query |
Query.setDate(String name,
Date date)
Bind the date (time is truncated) of a given Date object to a named query parameter.
|
Query |
Query.setDouble(int position,
double val)
Bind a positional double-valued parameter.
|
Query |
Query.setDouble(String name,
double val)
Bind a named double-valued parameter.
|
Query |
Query.setEntity(int position,
Object val)
Bind an instance of a mapped persistent class to a JDBC-style query parameter.
|
Query |
Query.setEntity(String name,
Object val)
Bind an instance of a mapped persistent class to a named query parameter.
|
Query |
Query.setFetchSize(int fetchSize) |
Query |
Query.setFirstResult(int firstResult)
Set the first row to retrieve.
|
Query |
Query.setFloat(int position,
float val)
Bind a positional float-valued parameter.
|
Query |
Query.setFloat(String name,
float val)
Bind a named float-valued parameter.
|
Query |
Query.setFlushMode(FlushMode flushMode) |
Query |
Query.setInteger(int position,
int val)
Bind a positional int-valued parameter.
|
Query |
Query.setInteger(String name,
int val)
Bind a named int-valued parameter.
|
Query |
Query.setLocale(int position,
Locale locale)
Bind a positional Locale-valued parameter.
|
Query |
Query.setLocale(String name,
Locale locale)
Bind a named Locale-valued parameter.
|
Query |
Query.setLockMode(String alias,
LockMode lockMode)
Set the LockMode to use for specific alias (as defined in the query's FROM clause).
|
Query |
Query.setLockOptions(LockOptions lockOptions)
Set the lock options for the query.
|
Query |
Query.setLong(int position,
long val)
Bind a positional long-valued parameter.
|
Query |
Query.setLong(String name,
long val)
Bind a named long-valued parameter.
|
Query |
Query.setMaxResults(int maxResults)
Set the maximum number of rows to retrieve.
|
Query |
Query.setParameter(int position,
Object val)
Bind a value to a JDBC-style query parameter.
|
Query |
Query.setParameter(int position,
Object val,
Type type)
Bind a value to a JDBC-style query parameter.
|
Query |
Query.setParameter(String name,
Object val)
Bind a value to a named query parameter.
|
Query |
Query.setParameter(String name,
Object val,
Type type)
Bind a value to a named query parameter.
|
Query |
Query.setParameterList(String name,
Collection values)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameterList(String name,
Collection values,
Type type)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameterList(String name,
Object[] values)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameterList(String name,
Object[] values,
Type type)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameters(Object[] values,
Type[] types)
Bind values and types to positional parameters.
|
Query |
Query.setProperties(Map bean)
Bind the values of the given Map for each named parameters of the query,
matching key names with parameter names and mapping value types to
Hibernate types using heuristics.
|
Query |
Query.setProperties(Object bean)
Bind the property values of the given bean to named parameters of the query,
matching property names with parameter names and mapping property types to
Hibernate types using heuristics.
|
Query |
Query.setReadOnly(boolean readOnly) |
Query |
Query.setResultTransformer(ResultTransformer transformer)
Set a strategy for handling the query results.
|
Query |
Query.setSerializable(int position,
Serializable val)
Bind a positional binary-valued parameter using serialization.
|
Query |
Query.setSerializable(String name,
Serializable val)
Bind a named binary-valued parameter using serialization.
|
Query |
Query.setShort(int position,
short val)
Bind a positional short-valued parameter.
|
Query |
Query.setShort(String name,
short val)
Bind a named short-valued parameter.
|
Query |
Query.setString(int position,
String val)
Bind a positional String-valued parameter.
|
Query |
Query.setString(String name,
String val)
Bind a named String-valued parameter.
|
Query |
Query.setText(int position,
String val)
Bind a positional String-valued parameter using streaming.
|
Query |
Query.setText(String name,
String val)
Bind a named String-valued parameter using streaming.
|
Query |
Query.setTime(int position,
Date date)
Bind a positional Date-valued parameter using just the Time portion.
|
Query |
Query.setTime(String name,
Date date)
Bind the time (date is truncated) of a given Date object to a named query parameter.
|
Query |
Query.setTimeout(int timeout) |
Query |
Query.setTimestamp(int position,
Date date)
Bind a positional Date-valued parameter using the full Timestamp.
|
Query |
Query.setTimestamp(String name,
Date date)
Bind the date and the time of a given Date object to a named query parameter.
|
Modifier and Type | Method and Description |
---|---|
Query |
SessionDelegatorBaseImpl.createFilter(Object collection,
String queryString) |
Query |
SessionDelegatorBaseImpl.createQuery(NamedQueryDefinition namedQueryDefinition) |
Query |
SessionImplementor.createQuery(NamedQueryDefinition namedQueryDefinition)
Used from EntityManager
|
Query |
SessionDelegatorBaseImpl.createQuery(String queryString) |
Query |
SessionDelegatorBaseImpl.getNamedQuery(String name) |
Query |
SessionImplementor.getNamedQuery(String name)
Get a Query instance for a named query or named native SQL query
|
Query |
SessionDelegatorBaseImpl.getNamedSQLQuery(String name) |
Query |
SessionImplementor.getNamedSQLQuery(String name)
Get a Query instance for a named native SQL query
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParameterData.setParameterValue(Query query) |
Modifier and Type | Method and Description |
---|---|
Query |
AbstractRelationQueryGenerator.getQuery(AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
Query |
RelationQueryGenerator.getQuery(AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
Modifier and Type | Method and Description |
---|---|
Query |
QueryBuilder.toQuery(Session session) |
Query |
UpdateBuilder.toQuery(Session session) |
Modifier and Type | Method and Description |
---|---|
protected Query |
AbstractAuditQuery.buildQuery() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAuditQuery.setQueryProperties(Query query) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryImpl
Abstract implementation of the Query interface.
|
class |
CollectionFilterImpl
implementation of the Query interface for collection filters
|
class |
QueryImpl
default implementation of the Query interface,
for "ordinary" HQL queries (not collection filters)
|
class |
SQLQueryImpl
Implementation of the
SQLQuery contract. |
Modifier and Type | Method and Description |
---|---|
Query |
AbstractQueryImpl.addQueryHint(String queryHint) |
Query |
SessionImpl.createFilter(Object collection,
String queryString) |
Query |
AbstractSessionImpl.createQuery(NamedQueryDefinition namedQueryDefinition) |
Query |
SessionImpl.createQuery(String queryString) |
Query |
AbstractSessionImpl.createQuery(String queryString) |
Query |
SessionImpl.getNamedQuery(String queryName) |
Query |
AbstractSessionImpl.getNamedQuery(String queryName) |
Query |
AbstractSessionImpl.getNamedSQLQuery(String queryName) |
Query |
AbstractQueryImpl.setBigDecimal(int position,
BigDecimal number) |
Query |
AbstractQueryImpl.setBigDecimal(String name,
BigDecimal number) |
Query |
AbstractQueryImpl.setBigInteger(int position,
BigInteger number) |
Query |
AbstractQueryImpl.setBigInteger(String name,
BigInteger number) |
Query |
AbstractQueryImpl.setBinary(int position,
byte[] val) |
Query |
AbstractQueryImpl.setBinary(String name,
byte[] val) |
Query |
AbstractQueryImpl.setBoolean(int position,
boolean val) |
Query |
AbstractQueryImpl.setBoolean(String name,
boolean val) |
Query |
AbstractQueryImpl.setByte(int position,
byte val) |
Query |
AbstractQueryImpl.setByte(String name,
byte val) |
Query |
AbstractQueryImpl.setCacheable(boolean cacheable) |
Query |
AbstractQueryImpl.setCacheMode(CacheMode cacheMode) |
Query |
AbstractQueryImpl.setCacheRegion(String cacheRegion) |
Query |
AbstractQueryImpl.setCalendar(int position,
Calendar calendar) |
Query |
AbstractQueryImpl.setCalendar(String name,
Calendar calendar) |
Query |
AbstractQueryImpl.setCalendarDate(int position,
Calendar calendar) |
Query |
AbstractQueryImpl.setCalendarDate(String name,
Calendar calendar) |
Query |
AbstractQueryImpl.setCharacter(int position,
char val) |
Query |
AbstractQueryImpl.setCharacter(String name,
char val) |
Query |
AbstractQueryImpl.setCollectionKey(Serializable collectionKey) |
Query |
AbstractQueryImpl.setComment(String comment) |
Query |
AbstractQueryImpl.setDate(int position,
Date date) |
Query |
AbstractQueryImpl.setDate(String name,
Date date) |
Query |
AbstractQueryImpl.setDouble(int position,
double val) |
Query |
AbstractQueryImpl.setDouble(String name,
double val) |
Query |
AbstractQueryImpl.setEntity(int position,
Object val) |
Query |
AbstractQueryImpl.setEntity(String name,
Object val) |
Query |
AbstractQueryImpl.setFetchSize(int fetchSize) |
Query |
AbstractQueryImpl.setFirstResult(int firstResult) |
Query |
AbstractQueryImpl.setFloat(int position,
float val) |
Query |
AbstractQueryImpl.setFloat(String name,
float val) |
Query |
AbstractQueryImpl.setFlushMode(FlushMode flushMode) |
Query |
AbstractQueryImpl.setInteger(int position,
int val) |
Query |
AbstractQueryImpl.setInteger(String name,
int val) |
Query |
AbstractQueryImpl.setLocale(int position,
Locale locale) |
Query |
AbstractQueryImpl.setLocale(String name,
Locale locale) |
Query |
SQLQueryImpl.setLockMode(String alias,
LockMode lockMode) |
Query |
QueryImpl.setLockMode(String alias,
LockMode lockMode) |
Query |
SQLQueryImpl.setLockOptions(LockOptions lockOptions) |
Query |
QueryImpl.setLockOptions(LockOptions lockOption) |
Query |
AbstractQueryImpl.setLong(int position,
long val) |
Query |
AbstractQueryImpl.setLong(String name,
long val) |
Query |
AbstractQueryImpl.setMaxResults(int maxResults) |
Query |
AbstractQueryImpl.setParameter(int position,
Object val) |
Query |
AbstractQueryImpl.setParameter(int position,
Object val,
Type type) |
Query |
AbstractQueryImpl.setParameter(String name,
Object val) |
Query |
AbstractQueryImpl.setParameter(String name,
Object val,
Type type) |
Query |
AbstractQueryImpl.setParameterList(String name,
Collection vals) |
Query |
AbstractQueryImpl.setParameterList(String name,
Collection vals,
Type type) |
Query |
AbstractQueryImpl.setParameterList(String name,
Object[] values) |
Query |
AbstractQueryImpl.setParameterList(String name,
Object[] vals,
Type type) |
Query |
AbstractQueryImpl.setParameters(Object[] values,
Type[] types) |
Query |
AbstractQueryImpl.setProperties(Map map) |
Query |
AbstractQueryImpl.setProperties(Object bean) |
Query |
AbstractQueryImpl.setReadOnly(boolean readOnly) |
Query |
AbstractQueryImpl.setResultTransformer(ResultTransformer transformer) |
Query |
AbstractQueryImpl.setSerializable(int position,
Serializable val) |
Query |
AbstractQueryImpl.setSerializable(String name,
Serializable val) |
Query |
AbstractQueryImpl.setShort(int position,
short val) |
Query |
AbstractQueryImpl.setShort(String name,
short val) |
Query |
AbstractQueryImpl.setString(int position,
String val) |
Query |
AbstractQueryImpl.setString(String name,
String val) |
Query |
AbstractQueryImpl.setText(int position,
String val) |
Query |
AbstractQueryImpl.setText(String name,
String val) |
Query |
AbstractQueryImpl.setTime(int position,
Date date) |
Query |
AbstractQueryImpl.setTime(String name,
Date date) |
Query |
AbstractQueryImpl.setTimeout(int timeout) |
Query |
AbstractQueryImpl.setTimestamp(int position,
Date date) |
Query |
AbstractQueryImpl.setTimestamp(String name,
Date date) |
Modifier and Type | Method and Description |
---|---|
Query |
HibernateQuery.getHibernateQuery()
Gives access to the underlying Hibernate query object..
|
Modifier and Type | Method and Description |
---|---|
Query |
CriteriaQueryTypeQueryAdapter.getHibernateQuery() |
Modifier and Type | Method and Description |
---|---|
Query |
QueryImpl.getHibernateQuery() |
Constructor and Description |
---|
QueryImpl.JpaPositionalParameterRegistrationImpl(Query jpaQuery,
Query nativeQuery,
Integer position,
Class<T> javaType) |
QueryImpl(Query query,
AbstractEntityManagerImpl em) |
QueryImpl(Query query,
AbstractEntityManagerImpl em,
Map<String,Class> namedParameterTypeRedefinitions) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEntityManagerImpl.resultClassChecking(Class resultClass,
Query hqlQuery) |
protected QueryImpl |
AbstractEntityManagerImpl.wrapAsJpaQuery(NamedQueryDefinition namedQueryDefinition,
Query hibQuery) |
Constructor and Description |
---|
AbstractEntityManagerImpl.TupleBuilderTransformer(Query hqlQuery) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.