AbstractJdbcConfiguration
instead.@Configuration @Deprecated public class JdbcConfiguration extends Object
Constructor and Description |
---|
JdbcConfiguration()
Deprecated.
|
@Bean public RelationalMappingContext jdbcMappingContext(Optional<NamingStrategy> namingStrategy)
RelationalMappingContext
and apply an optional NamingStrategy
.namingStrategy
- optional NamingStrategy
. Use NamingStrategy.INSTANCE
as fallback.@Bean public RelationalConverter relationalConverter(RelationalMappingContext mappingContext, @Lazy RelationResolver relationalResolver)
RelationalConverter
using the configured jdbcMappingContext(Optional)
. Will get
jdbcCustomConversions()
applied.jdbcMappingContext(Optional)
,
jdbcCustomConversions()
@Bean public JdbcCustomConversions jdbcCustomConversions()
Converter
s in a JdbcCustomConversions
object if required. These
JdbcCustomConversions
will be registered with the #relationalConverter(RelationalMappingContext)
.
Returns an empty JdbcCustomConversions
instance by default.@Bean public JdbcAggregateOperations jdbcAggregateOperations(ApplicationEventPublisher publisher, RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, Dialect dialect)
JdbcAggregateTemplate
as a bean for easy use in applications that need a lower level of
abstraction than the normal repository abstraction.publisher
- context
- converter
- operations
- dialect
- @Bean public DataAccessStrategy dataAccessStrategy(RelationalMappingContext context, JdbcConverter converter, NamedParameterJdbcOperations operations, Dialect dialect)
DataAccessStrategy
as a bean for reuse in the JdbcAggregateOperations
and the
RelationalConverter
.context
- converter
- operations
- dialect
- Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.