Questions tagged [quarkus-hibernate-reactive]

24 questions
0
votes
1 answer

Reactive panache: stop fetching bi-directional related entity with Mutiny fetch

An example of stack overflow when get an object using java quarkus reactive panache: @Table(name = "author") public class Author extends PanacheEntityBase { private Long id; private String authorName; @OneToMany(fetch = FetchType.LAZY) private…
0
votes
1 answer

What is the correct way to call an external service (API) in a quarkus reactive application using vertx & mutiny?

I am new to reactive programming with vertx & muntiny (quarkus). I have the below requirement: Structure: External API call returns -> Response class Response {String abc; List another; ...} class AnotherClass { List> roles…
0
votes
0 answers

Why does Quarkus throw a java.util.ServiceConfigurationError after a period of time?

We have a Quarkus application using RestEasy Reactive, Hibernate Reactive (w/ panache), and Hazelcast for caching. When the application starts up, the endpoints return a response without any exceptions being thrown. However, after around 10 minutes…
0
votes
0 answers

Reactive Panache Quarkus and Natural Keys

I am building a cache of objects and trying to persist them as I receive them in my DB (Stripe Webhooks if your familiar). But for some reason I cannot get any of them to persist, though there are no errors thrown.... NOTE: don't let the GET…
R Soph
  • 11
  • 2
0
votes
1 answer

Hibernate Reative Query Lock Mode throwing exception

There are a lot of Timeout/session not being released issues when using Panache-reactive with smallrye-reactive-messaging in quarkus. A slight variant of the timeout issue is observed when using the PanacheRepository. Based on the knowledge…
0
votes
0 answers

Quarkus Panache Reactive + Postgresql View

I am using the latest version of quarkus and hibernate reactive connecting to a postgresql database. Below is my Entity. @Entity class Balance: PanacheEntityBase { @Id @Convert(converter = EncryptionConverter.class) …
0
votes
2 answers

Hexagonal Architecture with Hibernate Reactive and Quarkus

I am using Hexagonal Architecture, Hibernate Reactive with Panache and Quarkus in a Kotlin Project. Transaction boundaries are set using @ReactiveTransactional annotation. The problem is that I had to add the whole Hibernate Reactive with Panache…
0
votes
0 answers

Quarkus Hibernate ORM fails to pick the default data source when multiple data sources are defined

I have a Quarkus application which has a default reactive postgres data source and jdbc db2 data source. I cannot go with reactive db2 data source because of existing open issue (https://github.com/eclipse-vertx/vertx-sql-client/issues/1131). During…
-1
votes
1 answer

Quarkus kotlin and reactive hibernate with panache No current Mutiny.Session found error with suspend function only

Making the findByStatusAndTypeAndLanguage function below a suspend function causes "java.lang.IllegalStateException: No current Mutiny.Session found" error, but the function above it is suspend with no errors. Removing the suspend from the…
1
2