org.hibernate.query.NativeQuery ,
org.hibernate.procedure.ProcedureCall , and jakarta.persistence.StoredProcedureQuery .
These result set mappings are used to map the values in the JDBC java.sql.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 the org.hibernate.query.NativeQuery 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.
org.hibernate.query.results.ResultSetMapping
| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | FetchBuilder
Responsible for building a single |
| public interface | ResultBuilder
Responsible for building a single |
| public interface | ResultBuilderBasicValued
Nominal extension to ResultBuilder for cases involving scalar results |
| public interface | |
| public interface | ResultBuilderEntityValued
Specialization of ResultBuilder for building an EntityResult |
| public interface | ResultBuilderInstantiationValued
Nominal extension to ResultBuilder for cases involving dynamic-instantiation results |
| public interface | ResultSetMapping
Acts as the |
| Modifier and Type | Class and Description |
|---|---|
| public class | |
| public class | |
| public class | |
| public class | ImplicitAttributeFetchBuilder
FetchBuilder used when an explicit mapping was not given |
| public class | JdbcValuesMappingImpl
Implementation of JdbcValuesMapping for native / procedure queries |
| public class | MissingSqlSelectionException
Indicates that a column defined as part of a SQL ResultSet mapping was not part of the query's ResultSet |
| public class | |
| public class | |
| public class | ResultSetMappingSqlSelection
SqlSelection used in |
| public class | |
| public class | TableGroupImpl
A TableGroup created with regards to a SQL ResultSet mapping |