Skip to content

Hibernate Reactive reconsideration #2503

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

Closed
Sam-Kruglov opened this issue Apr 24, 2022 · 4 comments
Closed

Hibernate Reactive reconsideration #2503

Sam-Kruglov opened this issue Apr 24, 2022 · 4 comments
Labels
status: declined A suggestion or change that we don't feel we should currently apply

Comments

@Sam-Kruglov
Copy link

Hi, last time it was posted a year ago, I thought it wouldn't hurt to take a look at it again. I know the project is not using JPA but posting here as it's most fitting for Hibernate integration work, where to actually put this code is a smaller problem.

Hibernate Reactive is not against introducing R2DBC into their codebase but are not willing to put in the work themselves to do that. However, they added an extension point that allows users to experiment with integrating alternative reactive database drivers.

This can allow a "motivated contributor" (not me as of now) to integrate R2DBC into Hibernate Reactive which would open up a path for Spring Data to integrate with it.

see hibernate/hibernate-reactive#76 (comment)

Originally posted by @Sam-Kruglov in #2211 (comment)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 24, 2022
@hantsy
Copy link

hantsy commented Apr 25, 2022

In fact, I think Adding Hibernate Reactive Support can reuse some work of the existing Spring Hibernate support and Spring Data JPA, I also filed an issue about this before: spring-projects/spring-data-relational#1178

Hibernate Reactive is based on the Vertx Reactive Drivers which is incompatible with R2dbc, and R2dbc specification is mainly maintained by the Spring guys.

Vertx Reactive Drivers are already adopted in Vertx, Quarkus, Hibernate Reactive and Micronaut SQL module.

@schauder
Copy link
Contributor

We still don't have plans (or the resources) to support Hibernate Reactive.

@schauder schauder added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 26, 2022
@aboutZZ
Copy link

aboutZZ commented Jun 9, 2022

Spring reactive has a long way to go, many libiaries and tools I use still not integrate with R2DBC (e.g. hibernate reactive, QueryDSL), this prevent me from migrating to Spring reactive stack(continue to use Spring MVC)😥

@anaconda875
Copy link

I have created a Spring boot project that integrate Reactive Hibernate and Spring boot/Spring data. More detail here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

No branches or pull requests

6 participants