@Configuration(proxyBeanMethods=false) public class MyBatisJdbcConfiguration extends AbstractJdbcConfiguration
MyBatisDataAccessStrategy instead of the default one.| Constructor and Description |
|---|
MyBatisJdbcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DataAccessStrategy |
dataAccessStrategyBean(NamedParameterJdbcOperations operations,
JdbcConverter jdbcConverter,
JdbcMappingContext context,
Dialect dialect)
|
jdbcAggregateTemplate, jdbcConverter, jdbcCustomConversions, jdbcDialect, jdbcMappingContext@Bean public DataAccessStrategy dataAccessStrategyBean(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, JdbcMappingContext context, Dialect dialect)
AbstractJdbcConfigurationDataAccessStrategy for reuse in the JdbcAggregateOperations and the JdbcConverter.
Override this method to register a bean of type DataAccessStrategy if your use case requires a more
specialized DataAccessStrategy.dataAccessStrategyBean in class AbstractJdbcConfigurationCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.