provide a way to use pure spring-r2dbc without spring-data-r2dbc dependency
See original GitHub issueRight now this is impossible because the last line of R2dbcDsl
requires spring-data-r2dbc dependency or else throws some java.lang.NoClassDefFoundError (for example on org/springframework/data/r2dbc/core/R2dbcEntityTemplate).
override fun initialize(context: GenericApplicationContext) {
super.initialize(context)
init()
val properties = r2dbcProperties()
R2dbcInitializer(properties, optionsCustomizers, transactional).initialize(context)
R2dbcDataInitializer().initialize(context)
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Spring Data R2DBC - Reference Documentation
Spring Data R2DBC requires Project Reactor as a core dependency, but it is interoperable with other reactive libraries through the Reactive ...
Read more >Upgrade from oracle-r2dbc version 0.4.0 to 1.0.0 is resulting in ...
You cannot use R2DBC 1.0.0 with Spring BOot 2.7 (AFAIK) you would need to upgrade to Spring Boot 3.0.0 (as that includes the...
Read more >Reactive programming with Spring Data R2DBC - Medium
How to build a collaborative web application with Angular, Spring Boot, Spring WebFlux, Spring Data R2DBC and PostgreSQL In my last article, ...
Read more >Reactive SQL Data Access with Spring Data R2DBC - YouTube
Hi Spring fans! In this installment of Spring Tips we look at reactive SQL data access with the new R2DBC and Spring Data...
Read more >Using the open-source R2DBC driver | Cloud Spanner
Your application can make use of the reactive database connectivity with Spanner by using the Spanner R2DBC driver. Adding Dependencies. Spring Data users ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah good point, I guess we should put Spring Data config in a dedicated namespace with
data { r2dbc { } }
ordataR2dbc { }
, same for JDBC.@pull-vert
spring-r2dbc
is very low level and the newspring-data-r2dbc
that leverage it pretty lightweight, what is your use case for it?@gytis-ivaskevicius Initializers are distincts so we should be able to use
R2dbcInitializer
in a potential Exposed support.