75 lines
4.3 KiB
HTML
75 lines
4.3 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Long description of Figure 1: Using savepoints to control rollbacks in a transaction (rzahh586.gif)" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzahh586" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Long description of Figure 1: Using savepoints to control rollbacks
|
|
in a transaction (rzahh586.gif)</title>
|
|
</head>
|
|
<body id="rzahh586"><a name="rzahh586"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Long description of Figure 1: Using savepoints to control rollbacks
|
|
in a transaction (rzahh586.gif)</h1>
|
|
<div><div class="section"><p><strong>found in IBM<sup>®</sup> Toolbox for Java™: AS400JDBCSavepoint class</strong></p>
|
|
</div>
|
|
<div class="section"><p>This figure illustrates how to use savepoints to control rollbacks
|
|
in a transaction.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Description</h4><p>The figure is composed of the following:</p>
|
|
<ul><li>A blue horizontal arrow, pointing to the right, labeled 'Transaction.'
|
|
The Transaction arrow represents a linear transaction that begins on the
|
|
left and ends on the right.</li>
|
|
<li>Below the Transaction arrow is a multicolored bar of equal length to the
|
|
Transaction arrow. The bar is divided into four colored sections that, from
|
|
left to right, represent the separate actions that constitute the transaction.
|
|
Under the bar are two labels that represent savepoints in the transaction.</li>
|
|
<li>Below the multicolored bar are three arrows positioned one above the other.
|
|
The arrows point left, and each one represents rolling back the transaction
|
|
to a different point.</li>
|
|
</ul>
|
|
<p> The Transaction arrow represents a transaction that begins on the
|
|
left and ends on the right. The transaction is composed of a series of separate
|
|
actions (the different sections of the multicolored bar). From left to right,
|
|
the colored sections represent: </p>
|
|
<ul><li>The first action (a tan section) labeled 'Insert'</li>
|
|
<li>The second action (a green section) labeled 'Update'</li>
|
|
<li>The third action (another tan section) labeled 'Insert'</li>
|
|
<li>The fourth and final action (a blue section) labeled 'Delete'</li>
|
|
</ul>
|
|
<p> Labels below the multicolored bar represent savepoints. The point
|
|
where the first action ends and the second begins is labeled 'Savepoint A.'
|
|
The point where the third action ends and the fourth begins is labeled 'Savepoint
|
|
B.'</p>
|
|
<p>Arrows below the multicolored bar point to the left and represent
|
|
how the savepoints affect rolling back the transaction:</p>
|
|
<ul><li>The first arrow points to Savepoint B. Rolling back the transaction to
|
|
Savepoint B reverses only the final action (the blue section labeled 'Delete')</li>
|
|
<li>The second arrow points to Savepoint A. Rolling back the transaction to
|
|
Savepoint A reverses the second through fourth actions (the green section
|
|
labeled 'Update,' the second tan section labeled 'Insert,' and the blue section
|
|
labeled 'Delete')</li>
|
|
<li>The final arrow points to the very beginning of the transaction. Completely
|
|
rolling back the transaction reverses all of the separate actions</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html> |