Uses of Interface
org.springframework.data.jdbc.core.convert.JdbcConverter
Package
Description
Core JDBC implementation.
JDBC-specific conversion classes.
Query derivation mechanism for JDBC specific repositories.
-
Uses of JdbcConverter in org.springframework.data.jdbc.core
ModifierConstructorDescriptionJdbcAggregateTemplate
(ApplicationContext publisher, RelationalMappingContext context, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Creates a newJdbcAggregateTemplate
givenApplicationContext
,RelationalMappingContext
andDataAccessStrategy
.JdbcAggregateTemplate
(ApplicationEventPublisher publisher, RelationalMappingContext context, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Creates a newJdbcAggregateTemplate
givenApplicationEventPublisher
,RelationalMappingContext
andDataAccessStrategy
. -
Uses of JdbcConverter in org.springframework.data.jdbc.core.convert
Modifier and TypeClassDescriptionclass
Deprecated.class
RelationalConverter
that uses aMappingContext
to apply conversion of relational values to property values.Modifier and TypeMethodDescriptionstatic JdbcIdentifierBuilder
JdbcIdentifierBuilder.forBackReferences
(JdbcConverter converter, AggregatePath path, Object value) Creates ParentKeys with backreference for the given path and value of the parents id.static JdbcIdentifierBuilder
JdbcIdentifierBuilder.forBackReferences
(JdbcConverter converter, PersistentPropertyPathExtension path, Object value) Deprecated, for removal: This API element is subject to removal in a future version.ModifierConstructorDescriptionDataAccessStrategyFactory
(SqlGeneratorSource sqlGeneratorSource, JdbcConverter converter, NamedParameterJdbcOperations operations, SqlParametersFactory sqlParametersFactory, InsertStrategyFactory insertStrategyFactory) Creates a newDataAccessStrategyFactory
.DefaultDataAccessStrategy
(SqlGeneratorSource sqlGeneratorSource, RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, SqlParametersFactory sqlParametersFactory, InsertStrategyFactory insertStrategyFactory) Creates aDefaultDataAccessStrategy
EntityRowMapper
(AggregatePath path, JdbcConverter converter, Identifier identifier) EntityRowMapper
(PersistentPropertyPathExtension path, JdbcConverter converter, Identifier identifier) Deprecated, for removal: This API element is subject to removal in a future version.EntityRowMapper
(RelationalPersistentEntity<T> entity, JdbcConverter converter) protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
.protected
MetadataBackedField
(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedField
with the given name,RelationalPersistentEntity
andMappingContext
with the givenRelationalPersistentProperty
.QueryMapper
(JdbcConverter converter) Creates a newQueryMapper
with the givenJdbcConverter
.QueryMapper
(Dialect dialect, JdbcConverter converter) Deprecated.SqlGeneratorSource
(RelationalMappingContext context, JdbcConverter converter, Dialect dialect) SqlParametersFactory
(RelationalMappingContext context, JdbcConverter converter) SqlParametersFactory
(RelationalMappingContext context, JdbcConverter converter, Dialect dialect) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of JdbcConverter in org.springframework.data.jdbc.mybatis
Modifier and TypeMethodDescriptionstatic DataAccessStrategy
MyBatisDataAccessStrategy.createCombinedAccessStrategy
(RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, org.apache.ibatis.session.SqlSession sqlSession, NamespaceStrategy namespaceStrategy, Dialect dialect) Create aDataAccessStrategy
that first checks for queries defined by MyBatis and if it doesn't find one uses aDefaultDataAccessStrategy
static DataAccessStrategy
MyBatisDataAccessStrategy.createCombinedAccessStrategy
(RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, org.apache.ibatis.session.SqlSession sqlSession, Dialect dialect) Create aDataAccessStrategy
that first checks for queries defined by MyBatis and if it doesn't find one uses aDefaultDataAccessStrategy
-
Uses of JdbcConverter in org.springframework.data.jdbc.repository.config
Modifier and TypeMethodDescriptionAbstractJdbcConfiguration.jdbcConverter
(JdbcMappingContext mappingContext, NamedParameterJdbcOperations operations, RelationResolver relationResolver, JdbcCustomConversions conversions, Dialect dialect) Creates aRelationalConverter
using the configuredAbstractJdbcConfiguration.jdbcMappingContext(Optional, JdbcCustomConversions, RelationalManagedTypes)
.Modifier and TypeMethodDescriptionAbstractJdbcConfiguration.dataAccessStrategyBean
(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, JdbcMappingContext context, Dialect dialect) MyBatisJdbcConfiguration.dataAccessStrategyBean
(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, JdbcMappingContext context, Dialect dialect) AbstractJdbcConfiguration.jdbcAggregateTemplate
(ApplicationContext applicationContext, JdbcMappingContext mappingContext, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Register aJdbcAggregateTemplate
as a bean for easy use in applications that need a lower level of abstraction than the normal repository abstraction. -
Uses of JdbcConverter in org.springframework.data.jdbc.repository.query
ModifierConstructorDescriptionPartTreeJdbcQuery
(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, AbstractJdbcQuery.RowMapperFactory rowMapperFactory) Creates a newPartTreeJdbcQuery
.PartTreeJdbcQuery
(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapper<Object> rowMapper) Creates a newPartTreeJdbcQuery
.StringBasedJdbcQuery
(JdbcQueryMethod queryMethod, NamedParameterJdbcOperations operations, AbstractJdbcQuery.RowMapperFactory rowMapperFactory, JdbcConverter converter, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newStringBasedJdbcQuery
for the givenJdbcQueryMethod
,RelationalMappingContext
andAbstractJdbcQuery.RowMapperFactory
.StringBasedJdbcQuery
(JdbcQueryMethod queryMethod, NamedParameterJdbcOperations operations, RowMapper<?> defaultRowMapper, JdbcConverter converter, QueryMethodEvaluationContextProvider evaluationContextProvider) Creates a newStringBasedJdbcQuery
for the givenJdbcQueryMethod
,RelationalMappingContext
andRowMapper
. -
Uses of JdbcConverter in org.springframework.data.jdbc.repository.support
Modifier and TypeMethodDescriptionvoid
JdbcRepositoryFactoryBean.setConverter
(JdbcConverter converter) ModifierConstructorDescriptionJdbcRepositoryFactory
(DataAccessStrategy dataAccessStrategy, RelationalMappingContext context, JdbcConverter converter, Dialect dialect, ApplicationEventPublisher publisher, NamedParameterJdbcOperations operations) Creates a newJdbcRepositoryFactory
for the givenDataAccessStrategy
,RelationalMappingContext
andApplicationEventPublisher
.SimpleJdbcRepository
(JdbcAggregateOperations entityOperations, PersistentEntity<T, ?> entity, JdbcConverter converter)
MappingJdbcConverter
instead as the naming suggests a limited scope of functionality.