@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,
RelationalMappingContext context)
|
jdbcAggregateTemplate, jdbcConverter, jdbcCustomConversions, jdbcMappingContext@Bean public DataAccessStrategy dataAccessStrategyBean(NamedParameterJdbcOperations operations, JdbcConverter jdbcConverter, RelationalMappingContext context)
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–2019 Pivotal Software, Inc.. All rights reserved.