org.apache.openjpa.persistence.PersistenceException: ERROR: current transaction is aborted, commands ignored until end of transaction block {prepstmnt 19606677 SELECT NEXTVAL('SEQ_DATEN')} [code=0, state=25P02]

openjpa-users | Anja | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using PostgreSQL sequences with db user restrictions

    openjpa-users | 3 years ago | Anja
    org.apache.openjpa.persistence.PersistenceException: ERROR: current transaction is aborted, commands ignored until end of transaction block {prepstmnt 19606677 SELECT NEXTVAL('SEQ_DATEN')} [code=0, state=25P02]
  2. 0

    XA driver problem using WLS 9.2

    Oracle Community | 10 years ago | 666705
    org.apache.openjpa.persistence.PersistenceException: Cannot call commit when using distributed transactions

    Root Cause Analysis

    1. org.apache.openjpa.persistence.PersistenceException

      ERROR: current transaction is aborted, commands ignored until end of transaction block {prepstmnt 19606677 SELECT NEXTVAL('SEQ_DATEN')} [code=0, state=25P02]

      at org.apache.openjpa.jdbc.sql.DBDictionary.narrow()
    2. OpenJPA Aggregate Jar
      StateManagerImpl.accessingField
      1. org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:4962)
      2. org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4922)
      3. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:136)
      4. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
      5. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
      6. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:66)
      7. org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)
      8. org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)
      9. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:775)
      10. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:493)
      11. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:469)
      12. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:759)
      13. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:135)
      14. org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:592)
      15. org.apache.openjpa.kernel.StateManagerImpl.assignField(StateManagerImpl.java:683)
      16. org.apache.openjpa.kernel.StateManagerImpl.beforeAccessField(StateManagerImpl.java:1655)
      17. org.apache.openjpa.kernel.StateManagerImpl.accessingField(StateManagerImpl.java:1586)
      17 frames
    3. de.nrw.it
      Daten.getId
      1. de.nrw.it.registerportal.indexdatenimport.entity.Daten.pcGetid(Daten.java)
      2. de.nrw.it.registerportal.indexdatenimport.entity.Daten.getId(Daten.java:153)
      2 frames