Interface JdbcValuesMappingProducer
- All Known Subinterfaces:
ResultSetMapping
@Incubating(since="6.0",
group="result-processing")
@SPI({USE,IMPLEMENT,SUPPLY})
public interface JdbcValuesMappingProducer
Producer for JdbcValuesMapping references.
The split allows resolution of JDBC value metadata to be used in the
production of JdbcValuesMapping references. Generally this feature is
used from
ResultSetMapping instances from native-sql queries and
procedure-call queries where not all JDBC types are known and we need the
JDBC ResultSetMetaData to determine the types- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory) default JdbcValuesMappingProducerresolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory) Resolve the JdbcValuesMapping.
-
Method Details
-
resolve
@SPI(SUPPLY) JdbcValuesMapping resolve(JdbcValuesMetadata jdbcResultsMetadata, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory) Resolve the JdbcValuesMapping. This involves resolving theDomainResultandFetch- See Also:
-
addAffectedTableNames
void addAffectedTableNames(Set<String> affectedTableNames, SessionFactoryImplementor sessionFactory) -
cacheKeyInstance
-