public class Transaction
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
int |
commit()
Commits the transaction.
|
int |
rollback()
Rolls back the transaction.
|
public int commit() throws TransactionException
TransactionException
- A transaction error occurred.SessionPool.startTransaction(int)
public int rollback() throws TransactionException
TransactionException
- A transaction error occurred.SessionPool.startTransaction(int)
Copyright © 1996, 2024, Oracle and/or its affiliates.