Class MicroTxTransactionStatus

java.lang.Object
com.oracle.microtx.springboot.transactional.MicroTxTransactionStatus
All Implemented Interfaces:
Flushable, org.springframework.transaction.SavepointManager, org.springframework.transaction.TransactionExecution, org.springframework.transaction.TransactionStatus

@Service @RequestScope public class MicroTxTransactionStatus extends Object implements org.springframework.transaction.TransactionStatus
  • Constructor Details

    • MicroTxTransactionStatus

      public MicroTxTransactionStatus()
  • Method Details

    • hasSavepoint

      public boolean hasSavepoint()
      Specified by:
      hasSavepoint in interface org.springframework.transaction.TransactionStatus
    • flush

      public void flush()
      Specified by:
      flush in interface Flushable
      Specified by:
      flush in interface org.springframework.transaction.TransactionStatus
    • createSavepoint

      public Object createSavepoint() throws org.springframework.transaction.TransactionException
      Specified by:
      createSavepoint in interface org.springframework.transaction.SavepointManager
      Throws:
      org.springframework.transaction.TransactionException
    • rollbackToSavepoint

      public void rollbackToSavepoint(Object savepoint) throws org.springframework.transaction.TransactionException
      Specified by:
      rollbackToSavepoint in interface org.springframework.transaction.SavepointManager
      Throws:
      org.springframework.transaction.TransactionException
    • releaseSavepoint

      public void releaseSavepoint(Object savepoint) throws org.springframework.transaction.TransactionException
      Specified by:
      releaseSavepoint in interface org.springframework.transaction.SavepointManager
      Throws:
      org.springframework.transaction.TransactionException
    • isNewTransaction

      public boolean isNewTransaction()
      Specified by:
      isNewTransaction in interface org.springframework.transaction.TransactionExecution
    • setRollbackOnly

      public void setRollbackOnly()
      Specified by:
      setRollbackOnly in interface org.springframework.transaction.TransactionExecution
    • isRollbackOnly

      public boolean isRollbackOnly()
      Specified by:
      isRollbackOnly in interface org.springframework.transaction.TransactionExecution
    • isCompleted

      public boolean isCompleted()
      Specified by:
      isCompleted in interface org.springframework.transaction.TransactionExecution