JdbcValuesMappingProducer for NativeQuery
or org.hibernate.procedure.ProcedureCall / jakarta.persistence.StoredProcedureQuery
instances. These mappings can be definedjakarta.persistence.SqlResultSetMapping or `hbm.xml` mapping
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | |
| public int | |
| public List | |
| public boolean | |
| public static ResultSetMapping | resolveResultSetMapping(String name, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public static ResultSetMapping | resolveResultSetMapping(String name, boolean isDynamic, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public NamedResultSetMappingMemento | |
| public void | visitLegacyFetchBuilders(Consumer<DynamicFetchBuilderLegacy> resultBuilderConsumer)
Visit the "legacy" fetch builders. |
| public void | visitResultBuilders(BiConsumer<Integer, ResultBuilder> resultBuilderConsumer)
Visit each result builder |
| addLegacyFetchBuilder | back to summary |
|---|---|
| public void addLegacyFetchBuilder(DynamicFetchBuilderLegacy fetchBuilder) Add a legacy fetch builder | |
| addResultBuilder | back to summary |
|---|---|
| public void addResultBuilder(ResultBuilder resultBuilder) Add a builder | |
| getMappingIdentifier | back to summary |
|---|---|
| public String getMappingIdentifier() An identifier for the mapping | |
| getNumberOfResultBuilders | back to summary |
|---|---|
| public int getNumberOfResultBuilders() The number of result builders currently associated with this mapping | |
| getResultBuilders | back to summary |
|---|---|
| public List The result builders currently associated with this mapping | |
| isDynamic | back to summary |
|---|---|
| public boolean isDynamic() Indicates whether the mapping is dynamic per | |
| resolveResultSetMapping | back to summary |
|---|---|
| public static ResultSetMapping resolveResultSetMapping(String name, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| resolveResultSetMapping | back to summary |
|---|---|
| public static ResultSetMapping resolveResultSetMapping(String name, boolean isDynamic, SessionFactoryImplementor sessionFactory)
Deprecated as a consequence of | |
| toMemento | back to summary |
|---|---|
| public NamedResultSetMappingMemento toMemento(String name) Create a memento from this mapping. | |
| visitLegacyFetchBuilders | back to summary |
|---|---|
| public void visitLegacyFetchBuilders(Consumer<DynamicFetchBuilderLegacy> resultBuilderConsumer) Visit the "legacy" fetch builders.
Historically these mappings in Hibernate were defined such that results and fetches are
unaware of each other. So while | |
| visitResultBuilders | back to summary |
|---|---|
| public void visitResultBuilders(BiConsumer<Integer, ResultBuilder> resultBuilderConsumer) Visit each result builder | |