Uses of Class
org.apache.cayenne.access.Transaction

Packages that use Transaction
org.apache.cayenne.access Contains classes that make up Cayenne ORM stack. 
 

Uses of Transaction in org.apache.cayenne.access
 

Methods in org.apache.cayenne.access that return Transaction
 Transaction DataDomain.createTransaction()
          Creates and returns a new inactive transaction.
static Transaction Transaction.externalTransaction(TransactionDelegate delegate)
          Factory method returning a new transaction instance that would NOT propagate commit/rollback to participating connections.
static Transaction Transaction.getThreadTransaction()
          Returns a Transaction associated with the current thread, or null if there is no such Transaction.
static Transaction Transaction.internalTransaction(TransactionDelegate delegate)
          Factory method returning a new transaction instance that would propagate commit/rollback to participating connections.
static Transaction Transaction.noTransaction()
          Factory method returning a transaction instance that does not alter the state of participating connections in any way.
 

Methods in org.apache.cayenne.access with parameters of type Transaction
static void Transaction.bindThreadTransaction(Transaction transaction)
          Binds a Transaction to the current thread.
 void TransactionDelegate.didCommit(Transaction transaction)
          Called after a Transaction commit.
 void TransactionDelegate.didRollback(Transaction transaction)
          Called after a Transaction is rolledback.
 boolean TransactionDelegate.willAddConnection(Transaction transaction, java.sql.Connection connection)
          Called within a context of a Transaction when a new JDBC onnection is added to the the transaction.
 boolean TransactionDelegate.willCommit(Transaction transaction)
          Called within a context of a Transaction before the transaction is committed.
 boolean TransactionDelegate.willMarkAsRollbackOnly(Transaction transaction)
          Called within a context of a Transaction before transaction is marked as "rollback only", meaning that further commit is not possible.
 boolean TransactionDelegate.willRollback(Transaction transaction)
          Called within a context of a Transaction before the transaction is rolledback.
 



Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.