we need to move the jndi callbacks to happen outside adapter's `initialize`
we need to move the jndi callbacks to happen outside adapter's `initialize`

... which is probably for the best, but for the record this is due to changes in AR 4.2
as we now (postgresql adapter) follow code and eagerly load the type map (in initialize)
this presents itself to be problematic as we disconnect! the initial connection while we still expect to execute statements as part of (PostgresqlAdapter's) initialize

resolves #649
jruby/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter