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

Spring JIRA | Leonid | 5 years ago
  1. 0

    WSO2 API Manager on PostgreSQL raising exception when user logging to a store

    Stack Overflow | 3 years ago | David Riccitelli
    org.postgresql.util.PSQLException: Cannot change transaction isolation level in the middle of a transaction.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate Isolation Level With Postgres 9.0

    Stack Overflow | 5 years ago | Hardik Mishra
    org.postgresql.util.PSQLException: Cannot change transaction isolation level in the middle of a transaction.

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.postgresql.util.PSQLException

      Cannot change transaction isolation level in the middle of a transaction.

      at org.postgresql.jdbc2.AbstractJdbc2Connection.setTransactionIsolation()
    2. PostgreSQL JDBC Driver
      AbstractJdbc2Connection.setTransactionIsolation
      1. org.postgresql.jdbc2.AbstractJdbc2Connection.setTransactionIsolation(AbstractJdbc2Connection.java:783)
      1 frame
    3. Commons DBCP
      DelegatingConnection.setTransactionIsolation
      1. org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:380)
      2. org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.setTransactionIsolation(PoolingDataSource.java:343)
      3. org.apache.commons.dbcp.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:380)
      3 frames
    4. Spring Framework
      DataSourceTransactionManager.doBegin
      1. org.springframework.jdbc.datasource.DataSourceUtils.prepareConnectionForTransaction(DataSourceUtils.java:174)
      2. org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:210)
      2 frames