Patent ID: 7788255

Claim:
A method for specifying execution sequence restrictions between database operations requested by a database application comprising the machine-implemented steps of: during a compilation of the database application, identifying within human readable code of the database application a plurality of statements for performing said database operations; wherein the human readable code includes constructs that indicate certain statements in said plurality of statements as belonging to bundles; and generating code which, when executed, sends, in a single message, a request for a server-side to execute the database operations specified in the plurality of statements; wherein said request comprises a batch that includes said plurality of statements along with indications of the bundles to which the certain statements in said plurality of statements belong, thereby instructing the server-side regarding which statements within the batch must be executed sequentially relative to each other; and wherein the plurality of statements includes a first statement, a second statement, and a third statement; wherein the batch further includes data that indicates, to the server-side: a) that the first statement and the second statement must be executed sequentially relative to each other; and b) that no execution sequence restriction exists between the first statement and the third statement; wherein the data in the batch further indicates, to the server-side, that the first statement in the batch belongs to a first bundle, that the second statement in the batch belongs to one of the first bundle and a second bundle that is different from the first bundle, and that the third statement in the batch belongs to the other of the first bundle and the second bundle that is different from the first bundle; wherein the steps of identifying and generating are performed by a computer programmed to be a special purpose machine pursuant to instructions from program software.