First page Back Continue Last page Text

oracle adf workshop


Accessing a Transaction (continued)

The Transaction interface contains a standard set of methods that include commit(), setLockingMode() and getLockingMode(). The DBTransaction interface extends Transaction. It contains some more specialized methods that deal with entity objects. Some of the methods are findByPrimaryKey(), getSession(), and getEnvironment(). For the most part, the Transaction interface provides the methods you will use most often.

JDeveloper’s online Help contains the Javadoc for the oracle.jbo.Transaction and oracle.jbo.server.DBTransaction. Refer to the Javadoc for a complete list of available methods.