<code class="methodname">Random.nextDouble()</code> which gives us a random
    double value. This latter value is used so as to avoid duplicate
    records in the database.
</p>
        <pre class="programlisting">
                    // Write 10 records to the db
                    // for each transaction
                    for (int j = 0; j &lt; 10; j++) {
                        // Get the key
                        DatabaseEntry key = new DatabaseEntry();
                        StringBinding.string