javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.

Oracle Community | 975640 | 2 months 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

    OdiImportObject throws "Transaction rolled back because transaction was set to RollbackOnly."

    Oracle Community | 2 months ago | 975640
    javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.
  2. 0

    OptimisticLockingFailureException with JPA transaction - Spring Forum

    spring.io | 1 year ago
    org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
  3. 0

    Could not commit JPA transaction

    GitHub | 4 years ago | tomas-knap
    org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Retrieving more error information for Spring JPA Transaction Exception

    Stack Overflow | 5 years ago | John F.
    org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction rolled back because transaction was set to RollbackOnly.

    9 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. javax.persistence.RollbackException

      Transaction rolled back because transaction was set to RollbackOnly.

      at org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit()
    2. EclipseLink (non-OSGi)
      EntityTransactionImpl.commit
      1. org.eclipse.persistence.internal.jpa.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:141)
      1 frame
    3. oracle.odi.core
      JpaOdiTransactionManager.doCommit
      1. oracle.odi.core.persistence.jpa.JpaOdiTransactionManager.doCommit(JpaOdiTransactionManager.java:378)
      1 frame
    4. Spring Tx
      AbstractPlatformTransactionManager.commit
      1. org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:651)
      2. org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:621)
      2 frames
    5. oracle.odi.core
      TransactionTemplate.execute
      1. oracle.odi.core.persistence.transaction.support.TransactionManagerSpringAdapter.commit(TransactionManagerSpringAdapter.java:67)
      2. oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:112)
      2 frames
    6. com.sunopsis.dwg
      SnpsFunctionBaseRepositoryConnected.execute
      1. com.sunopsis.dwg.function.SnpsFunctionBaseJPARepositoryConnected.actionExecute(SnpsFunctionBaseJPARepositoryConnected.java:62)
      2. com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:209)
      2 frames
    7. oracle.odi.oditools
      OdiAbstractToolRunner$4.doAction
      1. oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:180)
      2. oracle.odi.oditools.OdiAbstractToolRunner.access$000(OdiAbstractToolRunner.java:28)
      3. oracle.odi.oditools.OdiAbstractToolRunner$4.doAction(OdiAbstractToolRunner.java:243)
      3 frames
    8. oracle.odi.core
      DwgObjectTemplate.execute
      1. oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:173)
      1 frame
    9. oracle.odi.oditools
      OdiAbstractToolRunner.executeTool
      1. oracle.odi.oditools.OdiAbstractToolRunner.executeConnectedCoreTool(OdiAbstractToolRunner.java:235)
      2. oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:132)
      3. oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:51)
      3 frames
    10. oracle.odi
      ToolRunner.main
      1. oracle.odi.ToolRunner.main(ToolRunner.java:85)
      1 frame