Package org.hibernate.query.results
Support for defining result set mappings used in
NativeQuery
,
ProcedureCall
, and StoredProcedureQuery
.
These result set mappings are used to map the values in the JDBC ResultSet
into
the query result graph.
Subpackages handle different sources of result set mappings:
org.hibernate.query.results.complete
handles result set mappings which are completely known upfront and are faster to resolve.org.hibernate.query.results.dynamic
handles result set mappings which are defined incrementally via theNativeQuery
interface and need to resolve themselves against other dynamic mappings. These take more resources to resolve.org.hibernate.query.results.implicit
handles implicit result set mappings.
- See Also:
ResultSetMapping
-
Interface Summary Interface Description BasicValuedFetchBuilder FetchBuilder Responsible for building a singleDomainResult
instance as part of the overall mapping of native / procedure query results.ResultBuilder Responsible for building a singleDomainResult
instance as part of the overall mapping of native / procedure query results.ResultBuilderBasicValued Nominal extension to ResultBuilder for cases involving scalar resultsResultBuilderEmbeddable ResultBuilderEntityValued Specialization of ResultBuilder for building an EntityResultResultBuilderInstantiationValued Nominal extension to ResultBuilder for cases involving dynamic-instantiation resultsResultSetMapping Acts as theJdbcValuesMappingProducer
forNativeQuery
orProcedureCall
/StoredProcedureQuery
instances. -
Class Summary Class Description Builders DomainResultCreationStateImpl FromClauseAccessImpl ImplicitAttributeFetchBuilder FetchBuilder used when an explicit mapping was not givenJdbcValuesMappingImpl Implementation of JdbcValuesMapping for native / procedure queriesResultSetMappingImpl ResultSetMappingSqlSelection SqlSelection used inResultSetMapping
resolution.ResultsHelper TableGroupImpl A TableGroup created with regards to a SQL ResultSet mapping -
Exception Summary Exception Description MissingSqlSelectionException Indicates that a column defined as part of a SQL ResultSet mapping was not part of the query's ResultSetPositionalSelectionsNotAllowedException