jruby/activerecord-jdbc-adapter — Issue #168: db2 driver tries to set schema to ENV['USER'] when using JNDI
Author: moger777
Created: 2012-02-09 14:16:22+00:00
State: open

When using JNDI with an AS400 DB, trying to access a table gives a an error stating that the table does not exist. It does this because it's trying to find the table in a schema that does not exist. With as400, you can set the schema from the JDBC connection. If you return nil for the db2_schema function, everything works perfectly.