1

在我的 Quarkus 应用程序中,我Enlisted connection used without active transaction每天都会遇到一次错误(在一个经常使用的公共 API 上)。

它似乎来自 Agroal(这里https://github.com/agroal/agroal/blob/master/agroal-pool/src/main/java/io/agroal/pool/ConnectionHandler.java#L393)。

根据堆栈跟踪,它在带有注释的 REST 端点中的各个位置失败@Transactional

在 PostgreSQL 中,我只得到以下内容:

ERROR:  canceling statement due to user request
4

0 回答 0