ssCatalog;
    }</code></strong>
</pre>
          <p>
    Finally, we need our <code class="methodname">close()</code> method:
</p>
          <a id="java_dbt23"></a>
          <pre class="programlisting">

    // Close the databases
    public void close() {
        try {
            if (vendorDb != null) {
                vendorDb.close();
            }

            if (inventoryDb != null) {
                inventoryDb.close();
            }

            <strong class="userinput"><code>if (classCatalogDb 