spring-attic / spring-boot-r2dbc

Experimental Spring Boot support for R2DBC
82 stars 13 forks source link

ConnectionFactory should not be autoconfigured if it's already configured by user himself. #69

Closed vdshb closed 4 years ago

vdshb commented 4 years ago

org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryConfiguration.ConnectionPoolConnectionFactoryConfiguration#connectionFactory doesn't check if custom ConnectionFactory is already defined by user. For me it looks like not spring boot way of behavior.

vdshb commented 4 years ago

My bad. It was my configuration mistake. Looks like everything works fine.