'Could not commit with auto-commit on

I have a spring boot application that configures it to use multiple data sources (Oracle and Postgres) also use Hikari. When I run the application it up and run successfully but when I can one of the endpoints I got the "Could not commit with auto-commit on" error. I tried to set Hikari auto-commit to false but it didn't help to solve the problem. Do you have any experience to solve this issue>



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source