if (spaceInName) sql.append(']');
    private void initColumnAutoUpdate(DatabaseMetaData meta) throws SQLException {        ResultSet rs = null;        PreparedStatement stmt = null;        // we've got to get a result set with all the columns in it        // so we can ask if the columns are auto updated        // Ugh!!!  Should have been in DatabaseMetaData instead!!!        StringBuffer sql = new StringBuffer("select * from ");        if (getSchema() != null) {            sql.append(getSchema());            sql.append('.');        }        sql.append(getName());        sql.append(" where 0 = 1");        try {            stmt = meta.getConnection().prepareStatement(sql.toString());            rs = stmt.executeQuery();            ResultSetMetaData rsMeta = rs.getMetaData();            for (int i = rsMeta.getColumnCount(); i > 0; --i) {                TableColumn column = getColumn(rsMeta.getColumnName(i));                column.setIsAutoUpdated(rsMeta.isAutoIncrement(i));            }        } catch (SQLException exc) {            // don't completely choke just because we couldn't do this....            System.err.println("Failed to determine auto increment status: " + exc);            System.err.println("SQL: " + sql.toString());        } finally {            if (rs != null)                rs.close();            if (stmt != null)                stmt.close();        }    }