<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><s>Transaction Statements</s></h2>
     <h4>Page <b>removed</b> by             <a href="https://docs.jboss.org/author/display/~shawkins">Steven Hawkins</a>
    </h4>
     <br/>
     <div class="notificationGreySide">
         <p>In situations where the direct use of the JDBC connection is not possible, transaction statements can be used to control a local transaction.</p>

<ul>
        <li><b>START TRANSACTION</b>&#45; synonym for <tt>connection.setAutoCommit&#40;false)</tt></li>
</ul>


<ul>
        <li><b>COMMIT</b>&#45; synonym for <tt>connection.setAutoCommit&#40;true)</tt></li>
</ul>


<ul>
        <li><b>ROLLBACK</b>&#45; synonym for <tt>connection.rollback&#40;)</tt> and returning to auto commit mode.</li>
</ul>

     </div>
</div>
</div>
</div>
</div>
</body>
</html>