Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 1 The Basic for Developing Application> Chapter 5 Transaction Function> 5.1 Overview of Transactions

5.1.5 Controlling Transaction Concurrency

When multiple transactions that are running at the same time manipulate the same data, appropriate adjustments must be performed to prevent contradictions and inconsistencies from occurring. Shunsaku performs this control automatically according to the following rules:

[Figure: Transaction for guaranteeing the integrity of data]

The following table shows if a conflict will occur when two concurrent transactions access the same XML document.

Search

Add

Delete

Update

Search

-

Add

-

-

-

-

Delete

-

X

X

Update

-

X

X

: No conflict. Operations will be executed simultaneously.
X : Conflict. The operation that was executed later will generate an error.
- : No such situation will occur.

If a commit process and a search take place simultaneously, the search may use any partial results that have been committed by transactions that are performing the commit process.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006