tables.setString(1, tableNamePattern);
tables.setString(1, tableNamePattern.toUpperCase());
    public ResultSet getTables(String catalog, String schemaPattern,		String tableNamePattern, String types[]) throws SQLException {        if (catalog != null) {            throw new SQLException("Catalogs not supported");        }        if (schemaPattern != null) {            throw new SQLException("Schemas not supported");        }        boolean ourTransaction = false;        if (!c.inTransaction()) {            try {                trans.begin();                ourTransaction = true;            }            catch (ResourceException re) {                throw new SQLException("couldn't work with local transaction: " + re);            }        }        if (tables == null) {            tables = c.prepareStatement("select null as TABLE_CAT, null as TABLE_SCHEM, RDB$RELATION_NAME as TABLE_NAME, 'TABLE' as TABLE_TYPE, 'you want a comment?' as REMARKS from RDB$RELATIONS where RDB$RELATION_NAME = ?");        }        tables.setString(1, tableNamePattern);        tables.execute();        ResultSet rs = ((FBStatement)tables).getCachedResultSet();        if (ourTransaction) {            try {                trans.commit();            }            catch (ResourceException re) {                throw new SQLException("couldn't work with local transaction: " + re);            }        }        //ResultSet rs = tables.executeQuery();        return rs;    }