DB2: convert last insert id fix to new format
DB2: convert last insert id fix to new format

* partially taken from hsqldb

bruceadams/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,jruby/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,atambo/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter,kares/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,bruceadams/activerecord-jdbc-adapter,atambo/activerecord-jdbc-adapter,atambo/activerecord-jdbc-adapter,keeguon/activerecord-jdbc-adapter