From Oracle FAQ
Jump to: navigation, search
 ===KPRB driver===
 Remember not to close the default Connection. Closing the default connection might throw an exception in future releases of Oracle.
 finally {
  try { conn.close(); } catch (Exception ignore) {}

The section "Difference between programs and an applets" has little to do with JDBC. It probably belongs on the Java page instead.