Patent ID: 7289992

Claim:
A method for transaction management, comprising: under control of a transaction manager that manages and controls execution of a transaction and that is coupled to a locking aware client that is aware of the transaction manager, receiving an indication that the transaction is beginning from the locking aware client; in response to receiving the indication, generating an operation identifier for the transaction, wherein the operation identifier is used in lock requests and requests to the transaction manager, and wherein the operation identifier is a compound key with a first part indicating that the operation identifier was generated by the transaction manager, with a second part being one of a lock management group name and a transaction manager name, and with a third part being a unique number in a context of one of the lock management group and the transaction manager; receiving a change request that changes data and a reverse action to the change request along with the operation identifier from the locking aware client, wherein the reverse action is used to rollback the transaction; and logging actions for the transaction identified by the operation identifier, wherein the actions include the change request, the corresponding reverse request, and locks granted.