-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name R2dbcEntityTemplate explicitly #354
Comments
Hi @peterfigure You can find a sample here and specifically for the configuration :
The |
hi @fteychene - tried to extract a minimal project illustrating some of my challenges: https://github.com/peterfigure/minimal-kofu please start postgres with the included In |
when I use my forked
it works. |
After testing the naming is required indeed. @sdeleuze What do you think about naming the In the mean time this configuration seems to be working
|
Thanks @fteychene - |
@fteychene Yeah we need to set this name, I had to do the same for other part of this infra that rely on name as well like on web. |
I believe this isn't fully supported yet but attempting to use r2dbc DSL with repositories, pretty close but I believe it wants the R2dbcEntityTemplate bean named "r2dbcEntityTemplate" explicitly:
https://github.com/spring-projects/spring-data-r2dbc/blob/1.2.x/src/main/java/org/springframework/data/r2dbc/repository/config/EnableR2dbcRepositories.java#L139
When creating the beans manually in lieu of using
r2dbc
DSL I run into the same problem and it's resolved by naming it explicitly:The text was updated successfully, but these errors were encountered: