Interface ITransaction


  • public interface ITransaction
    This interface is kept for databases that are able to run transactions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ADDED  
      static int DELETED  
      static int UPDATED  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void abort()
      Rollback the transaction, forgetting the changed items
      void addResource​(java.lang.Object res, int status)
      Adds a resource to the list of resources encompassed by this transaction
      void commit()
      Complete the transaction by making its changes persistent.