Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.engine.query.spi.sql | |
org.hibernate.engine.spi | |
org.hibernate.loader.custom.sql | |
org.hibernate.result.spi |
Modifier and Type | Method and Description |
---|---|
List<NativeSQLQueryReturn> |
SQLQuery.getQueryReturns()
Deprecated.
Retrieve the returns associated with this query.
|
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryReturn[] |
ResultSetMappingDefinition.getQueryReturns() |
Modifier and Type | Method and Description |
---|---|
void |
ResultSetMappingDefinition.addQueryReturn(NativeSQLQueryReturn queryReturn)
Adds a return.
|
Modifier and Type | Class and Description |
---|---|
class |
NativeSQLQueryCollectionReturn
Represents a return defined as part of a native sql query which
names a collection role in the form {className}.{collectionRole}; it
is used in defining a custom sql query for loading an entity's
collection in non-fetching scenarios (i.e., loading the collection
itself as the "root" of the result).
|
class |
NativeSQLQueryConstructorReturn
Describes a
ConstructorResult |
class |
NativeSQLQueryJoinReturn
Represents a return defined as part of a native sql query which
names a fetched role.
|
class |
NativeSQLQueryNonScalarReturn
Represents the base information for a non-scalar return defined as part of
a native sql query.
|
class |
NativeSQLQueryRootReturn
Represents a return defined as part of a native sql query which
names a "root" entity.
|
class |
NativeSQLQueryScalarReturn
Describes a scalar return in a native SQL query.
|
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryReturn[] |
NativeSQLQuerySpecification.getQueryReturns() |
Constructor and Description |
---|
NativeSQLQuerySpecification(String queryString,
NativeSQLQueryReturn[] queryReturns,
Collection querySpaces) |
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryReturn[] |
NamedSQLQueryDefinition.getQueryReturns() |
Modifier and Type | Method and Description |
---|---|
void |
NamedSQLQueryDefinition.addQueryReturns(NativeSQLQueryReturn[] queryReturnsToAdd) |
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setQueryReturns(NativeSQLQueryReturn[] queryReturns) |
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinitionBuilder |
NamedSQLQueryDefinitionBuilder.setQueryReturns(List<NativeSQLQueryReturn> queryReturns) |
Constructor and Description |
---|
NamedSQLQueryDefinition(String name,
String query,
NativeSQLQueryReturn[] queryReturns,
List<String> querySpaces,
boolean cacheable,
String cacheRegion,
Integer timeout,
Integer fetchSize,
FlushMode flushMode,
CacheMode cacheMode,
boolean readOnly,
String comment,
Map parameterTypes,
boolean callable)
Deprecated.
Use
NamedSQLQueryDefinitionBuilder instead. |
Constructor and Description |
---|
SQLCustomQuery(String sqlQuery,
NativeSQLQueryReturn[] queryReturns,
Collection additionalQuerySpaces,
SessionFactoryImplementor factory) |
SQLQueryReturnProcessor(NativeSQLQueryReturn[] queryReturns,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryReturn[] |
ResultContext.getQueryReturns() |
Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.