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.completehandles result set mappings which are completely known upfront and are faster to resolve.org.hibernate.query.results.dynamichandles result set mappings which are defined incrementally via theNativeQueryinterface and need to resolve themselves against other dynamic mappings. These take more resources to resolve.org.hibernate.query.results.implicithandles implicit result set mappings.
- See Also:
ResultSetMapping
-
Interface Summary Interface Description BasicValuedFetchBuilder FetchBuilder Responsible for building a singleDomainResultinstance as part of the overall mapping of native / procedure query results.ResultBuilder Responsible for building a singleDomainResultinstance 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 theJdbcValuesMappingProducerforNativeQueryorProcedureCall/StoredProcedureQueryinstances. -
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 inResultSetMappingresolution.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