Uses of Interface
org.springframework.data.jdbc.core.convert.JdbcConverter
Packages that use JdbcConverter
Package
Description
Core JDBC implementation.
JDBC-specific conversion classes.
Query derivation mechanism for JDBC specific repositories.
Support classes for integration of the repository programming model with JDBC.
-
Uses of JdbcConverter in org.springframework.data.jdbc.core
Methods in org.springframework.data.jdbc.core that return JdbcConverterModifier and TypeMethodDescriptionJdbcAggregateOperations.getConverter()Returns theJdbcConverter.JdbcAggregateTemplate.getConverter()Constructors in org.springframework.data.jdbc.core with parameters of type JdbcConverterModifierConstructorDescriptionJdbcAggregateTemplate(ApplicationContext applicationContext, RelationalMappingContext context, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Creates a newJdbcAggregateTemplategivenApplicationContext,RelationalMappingContextandDataAccessStrategy.JdbcAggregateTemplate(ApplicationEventPublisher publisher, RelationalMappingContext context, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Creates a newJdbcAggregateTemplategivenApplicationEventPublisher,RelationalMappingContext,JdbcConverterandDataAccessStrategy.JdbcAggregateTemplate(JdbcConverter converter, DataAccessStrategy dataAccessStrategy) -
Uses of JdbcConverter in org.springframework.data.jdbc.core.convert
Classes in org.springframework.data.jdbc.core.convert that implement JdbcConverterModifier and TypeClassDescriptionclassRelationalConverterthat uses aMappingContextto apply conversion of relational values to property values.Methods in org.springframework.data.jdbc.core.convert with parameters of type JdbcConverterModifier and TypeMethodDescriptionstatic IdentifierJdbcIdentifierBuilder.forBackReference(JdbcConverter converter, AggregatePath path, Identifier defaultIdentifier, Function<AggregatePath, Object> valueProvider) static JdbcIdentifierBuilderJdbcIdentifierBuilder.forBackReferences(JdbcConverter converter, AggregatePath path, Function<AggregatePath, Object> valueProvider) Creates ParentKeys with backreference for the given path and value of the parents id.Constructors in org.springframework.data.jdbc.core.convert with parameters of type JdbcConverterModifierConstructorDescriptionDataAccessStrategyFactory(JdbcConverter converter, NamedParameterJdbcOperations operations, Dialect dialect, QueryMappingConfiguration queryMappingConfiguration) Creates a newDataAccessStrategyFactory.DataAccessStrategyFactory(SqlGeneratorSource sqlGeneratorSource, JdbcConverter converter, NamedParameterJdbcOperations operations, SqlParametersFactory sqlParametersFactory, InsertStrategyFactory insertStrategyFactory, QueryMappingConfiguration queryMappingConfiguration) Creates a newDataAccessStrategyFactory.DefaultDataAccessStrategy(SqlGeneratorSource sqlGeneratorSource, RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, SqlParametersFactory sqlParametersFactory, InsertStrategyFactory insertStrategyFactory, QueryMappingConfiguration queryMappingConfiguration) Creates aDefaultDataAccessStrategyEntityRowMapper(AggregatePath path, JdbcConverter converter, Identifier identifier) EntityRowMapper(RelationalPersistentEntity<T> entity, JdbcConverter converter) protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext.protectedMetadataBackedField(SqlIdentifier name, RelationalPersistentEntity<?> entity, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty> context, @Nullable RelationalPersistentProperty property, JdbcConverter converter) Creates a newQueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty.QueryMapper(JdbcConverter converter) Creates a newQueryMapperwith the givenJdbcConverter.SqlGeneratorSource(JdbcConverter converter, Dialect dialect) SqlGeneratorSource(RelationalMappingContext context, JdbcConverter converter, Dialect dialect) SqlParametersFactory(JdbcConverter converter) SqlParametersFactory(RelationalMappingContext context, JdbcConverter converter) -
Uses of JdbcConverter in org.springframework.data.jdbc.mybatis
Methods in org.springframework.data.jdbc.mybatis with parameters of type JdbcConverterModifier and TypeMethodDescriptionstatic DataAccessStrategyMyBatisDataAccessStrategy.createCombinedAccessStrategy(RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, org.apache.ibatis.session.SqlSession sqlSession, NamespaceStrategy namespaceStrategy, Dialect dialect, QueryMappingConfiguration queryMappingConfiguration) Create aDataAccessStrategythat first checks for queries defined by MyBatis and if it doesn't find one uses aDefaultDataAccessStrategystatic DataAccessStrategyMyBatisDataAccessStrategy.createCombinedAccessStrategy(RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, org.apache.ibatis.session.SqlSession sqlSession, Dialect dialect, QueryMappingConfiguration queryMappingConfiguration) Create aDataAccessStrategythat 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
Methods in org.springframework.data.jdbc.repository.config that return JdbcConverterModifier and TypeMethodDescriptionstatic JdbcConverterJdbcConfiguration.createConverter(JdbcMappingContext mappingContext, NamedParameterJdbcOperations operations, RelationResolver relationResolver, JdbcCustomConversions conversions, JdbcDialect dialect) Creates aJdbcConverter.AbstractJdbcConfiguration.jdbcConverter(JdbcMappingContext mappingContext, NamedParameterJdbcOperations operations, RelationResolver relationResolver, JdbcCustomConversions conversions, JdbcDialect dialect) Creates aRelationalConverterusing the configuredAbstractJdbcConfiguration.jdbcMappingContext(Optional, JdbcCustomConversions, RelationalManagedTypes).Methods in org.springframework.data.jdbc.repository.config with parameters of type JdbcConverterModifier and TypeMethodDescriptionstatic DataAccessStrategyJdbcConfiguration.createDataAccessStrategy(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, @Nullable QueryMappingConfiguration mappingConfiguration, JdbcDialect dialect) AbstractJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, JdbcMappingContext context, JdbcDialect dialect) MyBatisJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, JdbcMappingContext context, JdbcDialect dialect) AbstractJdbcConfiguration.jdbcAggregateTemplate(ApplicationContext applicationContext, JdbcMappingContext mappingContext, JdbcConverter converter, DataAccessStrategy dataAccessStrategy) Register aJdbcAggregateTemplateas 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
Methods in org.springframework.data.jdbc.repository.query with parameters of type JdbcConverterModifier and TypeMethodDescriptionstatic JdbcValueJdbcValueBindUtil.getBindValue(JdbcConverter converter, @Nullable Object value, JdbcParameters.JdbcParameter parameter) Constructors in org.springframework.data.jdbc.repository.query with parameters of type JdbcConverterModifierConstructorDescriptionJdbcCountQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect, JdbcQueryMethod queryMethod, RelationalParameterAccessor accessor, ReturnedType returnedType) JdbcQueryCreator(RelationalMappingContext context, PartTree tree, JdbcConverter converter, Dialect dialect, RelationalEntityMetadata<?> entityMetadata, RelationalParameterAccessor accessor, boolean isSliceQuery, ReturnedType returnedType, Optional<Lock> lockMode, SqlGeneratorSource sqlGeneratorSource) Creates new instance of this class with the givenPartTree,JdbcConverter,Dialect,RelationalEntityMetadataandRelationalParameterAccessor.JdbcQueryCreator(PartTree tree, JdbcConverter converter, Dialect dialect, JdbcQueryMethod queryMethod, RelationalParameterAccessor accessor, ReturnedType returnedType) Creates new instance of this class with the givenPartTree,JdbcConverter,Dialect,JdbcQueryMethodandRelationalParameterAccessor.PartTreeJdbcQuery(JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapperFactory rowMapperFactory) Creates a newPartTreeJdbcQuery.PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapperFactory rowMapperFactory) Creates a newPartTreeJdbcQuery.PartTreeJdbcQuery(RelationalMappingContext context, JdbcQueryMethod queryMethod, Dialect dialect, JdbcConverter converter, NamedParameterJdbcOperations operations, RowMapper<Object> rowMapper) Creates a newPartTreeJdbcQuery.StatementFactory(JdbcConverter converter, Dialect dialect) StringBasedJdbcQuery(String query, JdbcQueryMethod queryMethod, NamedParameterJdbcOperations operations, RowMapperFactory rowMapperFactory, JdbcConverter converter, ValueExpressionDelegate delegate) Creates a newStringBasedJdbcQueryfor the givenJdbcQueryMethod,RelationalMappingContextandRowMapperFactory.StringBasedJdbcQuery(JdbcQueryMethod queryMethod, NamedParameterJdbcOperations operations, RowMapperFactory rowMapperFactory, JdbcConverter converter, ValueExpressionDelegate delegate) Creates a newStringBasedJdbcQueryfor the givenJdbcQueryMethod,RelationalMappingContextandRowMapperFactory. -
Uses of JdbcConverter in org.springframework.data.jdbc.repository.support
Methods in org.springframework.data.jdbc.repository.support with parameters of type JdbcConverterModifier and TypeMethodDescriptionvoidJdbcRepositoryFactoryBean.setConverter(JdbcConverter converter) Constructors in org.springframework.data.jdbc.repository.support with parameters of type JdbcConverterModifierConstructorDescriptionJdbcRepositoryFactory(DataAccessStrategy dataAccessStrategy, RelationalMappingContext context, JdbcConverter converter, Dialect dialect, ApplicationEventPublisher publisher, NamedParameterJdbcOperations jdbcOperations) Deprecated, for removal: This API element is subject to removal in a future version.SimpleJdbcRepository(JdbcAggregateOperations entityOperations, PersistentEntity<T, ?> entity, JdbcConverter converter)
JdbcRepositoryFactory(JdbcAggregateOperations)for consistent configuration instead.