Requirements to setup Spring Data R2DBC Application
- Java 17 or higher
- Spring Framework 6.0.11 or higher
- R2DBC and above
- A database that supports R2DBC, such as PostgreSQL, MySQL, or MongoDB
Spring Data R2DBC
Spring Data introduced reactive programming support with the release of Spring Data Reactive Modules. This module allows you to work with reactive database drivers (like MongoDB Reactive, R2DBC for SQL databases, etc.) and provides APIs for performing asynchronous database operations using reactive streams.
Spring Data R2DBC is an addition, to the Spring Data project that offers a programming model for databases with a focus on programming. Unlike implementations, like JDBC (Java Database Connectivity) or JPA (Java Persistence API) Spring Data R2DBC adopts a blocking approach enabling developers to handle database operations in a reactive manner.