Need and example using panache Reactive JPA

6.7k views Asked by At

I found the quarkus-hibernate-reactive-panache extension but I couldn't find an example of it using Panache orm with reactive repositories (In my case I use postgresql).

PanacheRepositoryBase.java seems that works as I need (smallrye.mutiny.*), could anybody link me to an example?

Thanks in advace, and nice work on quarkus project.

Regards

1

There are 1 answers

3
Davide D'Alto On

UPDATE: A quickstart is now available on the Quarkus quickstarts development branch: https://github.com/quarkusio/quarkus-quickstarts/tree/development/hibernate-reactive-panache-quickstart

Old answer:

I've just created a new quickstart for Hibernate Reactive with Panache in Quarkus: https://github.com/quarkusio/quarkus-quickstarts/pull/809

Hopefully, it will be included soon in the list of quickstarts, but you can have a look already if you want to play with it.