org.postgresql.util.PSQLException: Cannot change transaction isolation level in the middle of a transaction.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by David Riccitelli
, 2 years ago
Cannot change transaction isolation level in the middle of a transaction.
via Stack Overflow by Hardik Mishra
, 1 year ago
Cannot change transaction isolation level in the middle of a transaction.
via Google Groups by Bryant King, 1 month ago
Cannot change transaction isolation level in the middle of a transaction.
via https://bugzilla.redhat.com/bugzilla/ by Masafumi Miura, 1 year ago
org.postgresql.util.PSQLException: Cannot change transaction isolation level in the middle of a transaction.
at org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:380)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setTransactionIsolation(PoolingDataSource.java:343)
at org.springframework.jdbc.datasource.DataSourceUtils.prepareConnectionForTransaction(DataSourceUtils.java:174)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.