msg.println("Satement was created here:");
msg.println("Statement was created here:");
    protected synchronized void finalize() throws Throwable {        try {            if (m_stmt != null) {                StringBuffer sb = null;                ResultSetMetaData data = null;                String lineSeparator = System.getProperty("line.separator");                try {                    java.sql.ResultSet rs = getResultSet();                    data = rs.getMetaData();                    rs.close();                    sb = new StringBuffer(24 * data.getColumnCount());                    sb.append("ResultSetMetaData:")                        .append(lineSeparator)                        .append("  Columns:")                        .append(lineSeparator);                    for (int i = 1; i <= data.getColumnCount(); i++) {                        String table = data.getTableName(i);                        if (table != null && table.trim().length() > 0) {                            table = table + ".";                        }                        sb.append("    * ")                            .append(table)                            .append(data.getColumnName(i))                            .append(lineSeparator);                    }                } catch (SQLException e) {                    sb = new StringBuffer("Could not retrieve more information " +                                          "about closed Statement: " +                                          e.getMessage());                }                s_cat.warn("Statement was not closed by programmer: " + this +                           ", closing in garbage collection.  Lots of these " +                           "messages can indicate the cause of an out " +                           "of cursors error. " + sb.toString());                StringWriter w = new StringWriter();                PrintWriter msg = new PrintWriter(w);                msg.println("Satement was created here:");                msg.println(lineSeparator);                m_created.printStackTrace(msg);                s_cat.warn(w);                try {                    close();                } catch (SQLException e) {                    s_cat.error(null, e);                }            }        } finally {            super.finalize();        }    }