Questions tagged [reactive-postgresql-client]

9 questions
3
votes
3 answers

How to select a specific Postgres schema with reactive datasource in Quarkus

Today with the below configuration it is connecting to the default schema of a db , how to configure to connect to a specific schema. references : https://quarkus.io/guides/reactive-sql-clients#postgresql-2 Any leads will be really helpful.
Jaiprasad
  • 149
  • 11
2
votes
1 answer

No rollback with quarkus, mutiny and reactive postgresql

I am trying to get 3 inserts executed within the same transaction, but I am not able to get the transaction rolled back when one of the inserts fail. I am new in the reactive world and this is my very first reactive application. Here is a…
1
vote
2 answers

Elegant way to join Transactions in Reactive Vert.X

Let's say I have a service method where I do some validation/restcalls etc. (e.g. someServiceMethod2 in) and want to make it safe in a transactional way. I also have a repoMethod which includes a transaction. How can I rollback the child transaction…
Ahmet K
  • 713
  • 18
  • 42
1
vote
1 answer

Error on Quarkus reactive datasource SSL handshake

I'm using Quarkus 1.13.3.FINAL and I'm facing issues on my reactive datasource health check when deploying my application. I have both JDBC and reactive datasources being used. Here's how they're set up: %devops.quarkus.datasource.jdbc.url=…
1
vote
0 answers

Quarkus saving entity with OffsetDateTime without offset/timezone

I have a Quarkus application where I persist data using Vert.x Reactive PostgreSQL Client. Here ist the entity bean to be persisted: public class SomeEntity { public Long id; public Integer f1; public Boolean f2; public SomeType f3; public…
Hakan Dilek
  • 2,178
  • 2
  • 23
  • 35
1
vote
1 answer

Quarks Reactive Postgresql Transactions

I've looked at the guide to work with reactive SQL clients (https://quarkus.io/guides/reactive-sql-clients#using) but I can't seem to figure out how one would work with Transactions. Let's say I'd want to enhance this demo fruit app by using…
0
votes
0 answers

Quarkus reactive datasource SSL handshake failure

I am facing the same problem described in (Error on Quarkus reactive datasource SSL handshake). The problem seems solved, but I didn't manage to make it work. I tried providing the trust-certificate-pem property but I still get - Ssl handshake…
0
votes
1 answer

Quarkus Reactive PostgreSQL Vert.x - Collection of Long & in () queries

I am trying to use a prepared query with a 'where xxx in ()' query using a Set of Long as parameter: public static Multi findAll(PgPool client, Set ids) { Tuple parameter = Tuple.of(ids.toArray(new Long[]{})); // Tuple parameter =…
Nico B.
  • 3
  • 3
0
votes
1 answer

How to pass uncertain parameters to preparedQuery while using reactive-postgresql-client?

Anyone has idea how to pass uncertain parameters to client.preparedQuery? Pls look at the image below, appreciate any help! @Override public Future> getByIds(List ids) { Promise> promise = Promise.promise(); //…
Suge
  • 2,808
  • 3
  • 48
  • 79