@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value={io.r2dbc.spi.ConnectionFactory.class,org.springframework.data.r2dbc.repository.R2dbcRepository.class})
@ConditionalOnBean(value=org.springframework.data.r2dbc.core.DatabaseClient.class)
@ConditionalOnProperty(prefix="spring.data.r2dbc.repositories",
name="enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnMissingBean(value=org.springframework.data.r2dbc.repository.support.R2dbcRepositoryFactoryBean.class)
@Import(value=org.springframework.boot.autoconfigure.data.r2dbc.R2dbcRepositoriesAutoConfigureRegistrar.class)
@AutoConfigureAfter(value=R2dbcDataAutoConfiguration.class)
public class R2dbcRepositoriesAutoConfiguration
extends Object
- Since:
- 2.3.0
- Author:
- Mark Paluch
- See Also:
EnableR2dbcRepositories