org.apache.openjpa.persistence.PersistenceException: Cannot change transaction isolation level in the middle of a transaction

openjpa-users | Vito | 3 years ago
  1. 0

    Bitronix Transaction Manager - Transaction problems with Postgresql

    nabble.com | 1 year ago
    org.apache.openjpa.persistence.PersistenceException: Cannot change transaction isolation level in the middle of a transaction
  2. 0

    Confusing conflicts between OpenJPA and Postgresql

    openjpa-users | 3 years ago | Vito
    org.apache.openjpa.persistence.PersistenceException: Cannot change transaction isolation level in the middle of a transaction
  3. 0

    ODE transaction problem with Postgresql

    ode-user | 3 years ago | Vito
    org.apache.openjpa.persistence.PersistenceException: Cannot change transaction isolation level in the middle of a transaction
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 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:944)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    4. Bitronix Transaction Manager :: Core
      BaseProxyHandlerClass.invoke
      1. bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
      1 frame
    5. Unknown
      $Proxy5.setTransactionIsolation
      1. $Proxy5.setTransactionIsolation(Unknown Source)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Bitronix Transaction Manager :: Core
      BaseProxyHandlerClass.invoke
      1. bitronix.tm.resource.jdbc.BaseProxyHandlerClass.invoke(BaseProxyHandlerClass.java:64)
      1 frame
    8. Unknown
      $Proxy7.setTransactionIsolation
      1. $Proxy7.setTransactionIsolation(Unknown Source)
      1 frame
    9. OpenJPA Aggregate Jar
      BrokerImpl.beforeCompletion
      1. org.apache.openjpa.lib.jdbc.DelegatingConnection.setTransactionIsolation(DelegatingConnection.java:257)
      2. org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator.decorate(ConfiguringConnectionDecorator.java:95)
      3. org.apache.openjpa.lib.jdbc.DecoratingDataSource.decorate(DecoratingDataSource.java:100)
      4. org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:88)
      5. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:941)
      6. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:926)
      7. org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4232)
      8. org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4197)
      9. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102)
      10. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88)
      11. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64)
      12. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:930)
      13. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.retainConnection(JDBCStoreManager.java:216)
      14. org.apache.openjpa.kernel.DelegatingStoreManager.retainConnection(DelegatingStoreManager.java:163)
      15. org.apache.openjpa.kernel.BrokerImpl.retainConnection(BrokerImpl.java:3710)
      16. org.apache.openjpa.kernel.BrokerImpl.beginStoreManagerTransaction(BrokerImpl.java:1283)
      17. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1968)
      18. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1908)
      19. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1826)
      19 frames
    10. Bitronix Transaction Manager :: Core
      BitronixTransaction.commit
      1. bitronix.tm.BitronixTransaction.fireBeforeCompletionEvent(BitronixTransaction.java:532)
      2. bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:235)
      2 frames