jruby/activerecord-jdbc-adapter — pull request #498 by andfx (2013-11-17 13:40:43+00:00)
Title: [Oracle] Do not pre-fetch the primary key if multiple primary keys exist

The primary key should not be prefetched if an composite primary key is used. I adjusted the prefetch condition to support this.

Regards