java.lang.Object
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSTransaction
All Implemented Interfaces:
LocalTransaction

public class CciJMSTransaction extends Object implements LocalTransaction
INTERNAL: Transaction to Oracle JMS JCA adapter.
Since:
OracleAS TopLink 10g (10.0.3)
  • Field Details

    • isInTransaction

      protected boolean isInTransaction
    • connection

      protected CciJMSConnection connection
  • Constructor Details

    • CciJMSTransaction

      public CciJMSTransaction(CciJMSConnection conn)
      Default constructor.
  • Method Details

    • begin

      public void begin() throws EISException
      Record that a transaction has begun.
      Specified by:
      begin in interface LocalTransaction
      Throws:
      EISException
    • isInTransaction

      public boolean isInTransaction()
      Return if currently within a transaction.
      Returns:
      true if currently in a transaction, false otherwise
    • commit

      public void commit() throws EISException
      Write each of the transactional DOM records back to their files.
      Specified by:
      commit in interface LocalTransaction
      Throws:
      EISException
    • rollback

      public void rollback() throws EISException
      Throw away each of the DOM records in the transactional cache.
      Specified by:
      rollback in interface LocalTransaction
      Throws:
      EISException