w we implement our thread's <code class="methodname">run()</code> method.
    This is the method that is run when <code class="classname">DBWriter</code>
    threads are started in the main program (see <a class="xref" href="txnexample_java.html#txnguideexample" title="TxnGuide.java">TxnGuide.java</a>).
</p>
        <pre class="programlisting">    // Thread method that writes a series of records
    // to the database using transaction protection.
    // Deadlock handling is demonstrated here.
    public vo