Cannot change transaction read-only property in the middle of a transaction

前端 未结 2 1498
难免孤独
难免孤独 2021-01-20 16:43

I am using BoneCP with Postgresql and Spring JdbcTemplate. When JdbcTemplate executes query and then tries to close the connection, it gets this exception:

2条回答
  •  不知归路
    2021-01-20 17:10

    I ran into this issue today. You might be missing one of the required dependencies of boneCP.

    I was missing SLF4J library, and receiving the same message. Check whether you have the dependencies here: http://jolbox.com/index.html?page=http://jolbox.com/requirements.html

提交回复
热议问题