Hi there,
SVN commit #738 implements a schema.table fix for Postgres, so I tried the
same fix for the oracle adapter and it worked.

Just override the columns method as in Postgres fix #738 with the following:

    def columns(table_name, name=nil)
      schema_name = "public"
      if table_name =~ /\./
        parts = table_name.split(/\./)
        table_name = parts.pop
        schema_name = parts.join(".")
      end
      @connection.columns_internal(table_name, name, schema_name)
    end

P.S. This is the first patch I've submitted ever, to ANY project EVER, sooo
all I know is that it worked for me :-). Didn't test it on a 'test
environment' or anything.

Regards,
Bernie Telles
Web Administration and Design Team

_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to