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.3 Auto Commit and Manual Commit

Transactions can be committed either automatically or manually.

"Auto commit" refers to the way Shunsaku automatically starts and finishes transactions for each data manipulation (i.e. API call).
"Manual commit" refers to the way applications perform the commit operation by executing commit, Commit or ShunCommit.

Use manual commit to perform multiple update operations as a single transaction.

The following APIs can be used to switch between auto commit and manual commit. Auto commit is enabled by default when a connection is established.

Language type

API name

Java API

setAutoCommit

.NET API

AutoCommit

C API

ShunSetConnectAttr


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006