1

In the past, I integrated reactive spring data with mongoDb and everything gone fine. Now I want the same non blocking access using mysql, but i didnt find any article about it. I wish to use a mature and standard spring library, if you know one, please share it to me.

user801661
  • 177
  • 8
  • 15
  • Does [this](https://stackoverflow.com/questions/41483194/reactivecrudrepository-to-use-hibernate-in-spring) help? – Panda May 29 '19 at 03:32

1 Answers1

3

What you are looking for is R2DBC and Spring Data R2DBC.

R2DBC is a reactive alternative to JDBC. And Spring Data R2DBC is a Spring Data module for it.

Since R2DBC is only a specification/API you also need a driver for the database of your choice. For MySql that would be https://github.com/jasync-sql/jasync-sql

Jens Schauder
  • 77,657
  • 34
  • 181
  • 348