Patentable/Patents/US-7346632
US-7346632

Mechanism for executing nested transactions in an execution environment supporting flat transactions only

PublishedMarch 18, 2008
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

Disclosed is a means and a method for executing a nested transaction in an execution environment supporting flat transactions only. To process a StartTransaction operation within a nested transaction it is suggested to check whether the StartTransaction operation is on the first nesting level of the nested transactions. An actual transaction within the execution environment by issuing a corresponding StartTransaction is started only in the affirmative case but not otherwise. To process a CommitTransaction operation within a nested transaction to successfully terminate a transaction it is suggested to check whether the CommitTransaction operation is on the first nesting level of the nested transaction. An actual transaction within the execution environment will be terminated only by issuing a corresponding CommitTransaction operation in the affirmative case but not otherwise. To process a RollbackTransaction operation within a nested transaction aborting a transaction as unsuccessful, it is suggested to issue a corresponding RollbackTransaction operation within the execution environment independent from the nesting level of said RollbackTransaction operation.

Patent Claims
6 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computerized method for executing a nested transaction for computing data in an execution environment supporting a flat transaction only, and wherein a nested transaction encapsulates between a first StartTransaction operation and a corresponding first EndTransaction operation on a first nesting level a hierarchy of one or more further StartTransaction operations and corresponding further EndTransaction operations on further nesting levels, wherein a StartTransaction operation starts a transaction; and wherein an EndTransaction operation ends a transaction; and said method further comprising performing a StartTransaction operation by, checking whether said StartTransaction operation is on the first testing level of said nested transaction, and issuing a corresponding StartTransaction operation within said execution environment only when said StartTransaction operation is on the first testing level of said nested transaction said method performing an EndTransaction operation by: checking, in case said EndTransaction operation is a CommitTransaction operation successfully terminating a transaction, whether said EndTransaction operation is on said first nesting level of said nested transaction, and issuing a corresponding CommitTransaction operation within said execution environment only when said EndTransaction operation is on said first nesting level of said nested transaction; said method performing an EndTransaction operation in case said EndTransaction operation is a RollbackTransaction operation aborting a transaction as unsuccessful, by issuing a corresponding RollbackTransaction operation within said execution environment independent from the nesting level of said RollbackTransaction operation; said method performing, once a RollbackTransaction operation has been executed within said nested transaction, any further StartTransaction operation or any further EndTransaction operation within said nested transaction independent from its nesting level by rejecting it as being in error without issuing a corresponding StartTransaction operation or a corresponding EndTransaction operation to the execution environment, and wherein said method: checks the nesting level of any of said StartTransaction or EndTransaction operations by a depth counter, increments said depth counter in the case of processing a StartTransaction operation, and decrements said depth counter in the case of processing an EndTransaction operation which is a CommitTransaction operation, and sets said depth counter to zero or an invalid value in the case of processing an EndTransaction operation which is a RollbackTransaction operation.

2

2. A computerized method for executing a nested transaction for computing data in an execution environment supporting a flat transaction only according to claim 1 , wherein: said method is performed by a facade library separate from said execution environment, and said execution environment is a database system, and said facade library provides access from an object oriented environment to said relational database system.

3

3. A computerized method for executing a nested transaction for computing data in an execution environment supporting a flat transaction only according to claim 2 , wherein said facade library comprises a STORE object class providing access to said database system and said STORE object class providing said StartTransaction operation as one of its methods.

4

4. A computerized method for executing a nested transaction for computing data in an execution environment supporting a flat transaction only according to claim 3 , said method performing said StartTransaction operation by creating a transaction object for further control of said nested transaction in case said StartTransaction operation is on the first nesting level.

5

5. A computerized method for executing a nested transaction for computing data in an execution environment supporting a flat transaction only according to claim 4 , wherein said transaction object comprises said depth counter, said CommitTransaction operation, and said RollbackTransaction operation as object methods.

6

6. A computerized method for executing a nested transaction in an execution environment supporting a flat transaction only according to claim 1 , wherein: said method is performed by a facade library separate from said execution environment, and said execution environment is a database system, and said facade library provides access from an object oriented environment to said relational database system; said facade library comprises a STORE object class providing access to said database system and said STORE object class providing said StartTransaction operation as one of its methods; said method performing said StartTransaction operation by creating a transaction object for further control of said nested transaction in case said StartTransaction operation is on the first nesting level; and said transaction object comprises said depth counter, said CommitTransaction operation, and said RollbackTransaction operation as object methods.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

January 23, 2002

Publication Date

March 18, 2008

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Mechanism for executing nested transactions in an execution environment supporting flat transactions only” (US-7346632). https://patentable.app/patents/US-7346632

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.