Questions tagged [agroal]
14 questions
6
votes
1 answer
Random "Enlisted connection used without active transaction" errors
In my Quarkus app I get Enlisted connection used without active transaction errors around once a day (on a public API used quite a lot).
It seems to come from Agroal (here…

Benjamin Gamard
- 308
- 3
- 9
6
votes
1 answer
Structure of quarkus with jooq
I have app backend on php. But recently i created same backend on Quarkus and deployed it on kubernetes with database MYSQL. I'm routing half users on php backend and half qaurkus from app. PHP backend working fine but have issue with quarkus…

William
- 225
- 4
- 21
3
votes
0 answers
Autoreconnect on failed database connection
Quarkus give possibility to configure reconnection on failed acquire for reactive connection through config properties
quarkus.datasource.reactive.reconnect-attempts
quarkus.datasource.reactive.reconnect-interval
And I am searching how to get same…

red_asparagus
- 349
- 4
- 16
3
votes
1 answer
How can I build an Agroal connection at runtime with native support
I'm trying to build a dynamic database connection via Agroal inside a native image. It's not possible to use the default config params because I don't know the connection params at compile time. Is that even possible right now?
The connection is…

s1m0nw1
- 76,759
- 17
- 167
- 196
2
votes
0 answers
Quarkus and JDBC error attempting to commit transaction
I am in the process of experimenting with Quarkus, building a small REST application. For this I have elected to use the Agroal datasource but neither Panache or plain Hibernate (as is shown in their examples), but rather I'm using plaing JDBC.
For…

akortex
- 5,067
- 2
- 25
- 57
1
vote
1 answer
PrestoDB JDBC GraalVM native mode build fails and query throws exception only when run in native mode
if I want to build my Quarkus 2.7.3.Final application with GraalVM CE 22.0.0.2 in native mode, I get a build error caused by the PrestoDB JDBC driver.
Also, I get the following exceptions when I make a SQL query on PrestoDB 0.270 and it only occurs…

ThoSap
- 31
- 8
1
vote
0 answers
Drop idle connection in Quarkus
I want a database connection that has gone idle to be dropped once its maxLifetime has been reached.
How can we do this in quarkus? Is this achieved with these 2…

Carlos Gonzalez
- 607
- 1
- 5
- 13
1
vote
1 answer
Quarkus JDBC connection with SSL
I using quarkus with Panache + Agroal.
I need to setup a DB connection(postgres) with SSL enabled. So I need to somehow configure the server-cert, client-cert and client-key.
I only see this available for the reactive client.
Can this be achieved…

N. Silviu
- 113
- 1
- 8
1
vote
0 answers
Quarkus AS400 DataSource doesn't use all available connections
On Quarkus we have configured a default datasource to connect to…

Teg
- 1,302
- 13
- 32
0
votes
0 answers
Oracle database change notification in Quarkus 3.0.3.Final
I'm new to oracle database change notification. using this code i get exception when execution is on stmt.execute("SELECT e.EMPLOYEE_ID, e.FIRST_NAME, e.LAST_NAME FROM EMPLOYEES e WHERE e.EMPLOYEE_ID > 1"); need a help on this how to correct…

gilbert winiga
- 1
- 1
0
votes
0 answers
How to Inject a Agroal Datasource into servlet in Quarkus?
I have a Quarkus app which runs a servlet and I'm trying to inject an Agroal datasource as there is a Thread which runs within the servlet where I need to do some database transactions. However, I've tried the below implementation inside the Thread…

Vidath Adheesha
- 15
- 3
0
votes
2 answers
Vertx JDBC NoSuchMethodError 'java.sql.Connection io.agroal.api.transaction.TransactionIntegration.getConnection()'
I'm trying to use vertx JDBC with MS SQL Server.
I get the following stacktrace:
Exception in thread "vertx-jdbc-service-get-connection-thread" Exception in thread "vertx-jdbc-service-get-connection-thread" java.lang.NoSuchMethodError:…

waldelb
- 705
- 6
- 11
0
votes
0 answers
Is there any way to notify rollback-on-commit in quarkus-hibernate-orm in multitenancy DATABASE mode?
Currently, quarkus only supports multiple datasources for JDBC and the Agroal extension as is stated in the document.
However, the Agroal extension (with narayana-agroal) does not notify any rollback-on-commit Exception to the application code,…

Yuki Hashimoto
- 1,013
- 7
- 19
0
votes
1 answer
how to use quarkus with other ORM (activejdbc)
how to use quarkus with other ORM for example, ActiveJdbc framework.because right now hibernate panache doesn't have enough features.
I understand that quarkus can have filters, which is useful for opening connections, but how to close the…

user3337148
- 3
- 3