If I enabled pooling, I get this error:
Parameter 1 of constructor in MyService required a bean of type 'org.tobi.repository.MyRepository' that could not be found.
If I then added basePackages
to my @EnableR2dbcRepositories
decleration
@EnableR2dbcRepositories(basePackages = {"org.tobi.repository"})
I get:
Parameter 1 of constructor in `MyService required a bean named 'r2dbcEntityTemplate' that could not be found.
using
implementation 'org.springframework.data:spring-data-r2dbc:1.4.1'
implementation 'io.r2dbc:r2dbc-postgresql:0.8.10.RELEASE'
Comment From: snicoll
@tobq partial code snippets like this aren't helpful. It could be related to #28144 and upgrading to 2.6 would be enough but that's only a wild guess.
Could you please share a small sample that reproduces the problem you've described? You can do so by attaching a zip to this issue or sharing a link to a GitHub repository.
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.