Empty string is a nonvalid literal value for the PostgreSQL boolean type. Fixed
Update Predicate.php

Added "NOT IN" predicate.
- Create temporary table instead of create table temporary
Enable persistent connections for IbmDb2.

Usage example in global.php:
<?php
return array(
    'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'GUIDO',
        'password' => 'GUIDO55',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'WSDATA QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),
    
    'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter' =>
'Zend\Db\Adapter\AdapterServiceFactory'
        )
    )
);


Change-Id: I42ff3d52b2f112cefb828432c93eb409d42b2cad
Enable persistent connections for IBMi

'db' => array(
        'driver' => 'IbmDb2',
        'database' => '*LOCAL',
        'username' => 'USER',
        'password' => 'PASSWORD',
        'persistent' => true,
        'driver_options' => array(
            'i5_naming' => DB2_I5_NAMING_ON,
            'i5_libl' => 'SOMELIB QGPL'
        ),
        'platform_options' => array(
            'quote_identifiers' => false
        )
    ),

'persistent' accepts true/false, or can be left out

Change-Id: I8b42f83e7be794286fc5b23e8dc195bb22b23b66
Fixing a bug that causes fatal error when a RowGateway's primary key were changed directly : refresh the select's where clause after the update query.
test the "not in" predicate

provide adequate test unit for the "not in" predicate.
[#5256] allow keys with less than maximum supported key length.
fixed coding style.
Was using count($keySizes) and thought !empty($keySizes) would be clearer and missed the '!'.
fixed test, short key should be usable with blowfish.
Also test for all algorithms, just to make sure that key really is short ( < 8).
Test key needs to be shorter than the shortest supported key size, which
is 5 bytes (cast-128). Replaced it with 'four'.
It slipped because somehow on cygwin cast-128 only support 16 bytes.
Unit test ZendTest\Db\Adapter\Driver\Pdo\ResultTest::testCurrent() tests current() returns consistent results

Zend\Db\Adapter\Driver\Pdo\Result::current() fix to prevent calling resource::fetch() on multiple calls

Patch for
fix formatting
Add license and comments
Merge pull request #5125 branch 'hotfix/5125'
PR #4781
Merge branch 'master' of git://github.com/sebastien-gallet/zf2 into sebastien-gallet-master

* 'master' of git://github.com/sebastien-gallet/zf2:
  test the "not in" predicate
  Update Predicate.php
Merging PR #4781
Merge branch 'sebastien-gallet-master' into develop

* sebastien-gallet-master:
  test the "not in" predicate
  Update Predicate.php
Merge branch 'master' of https://github.com/zendframework/zf2 into zf5256
added open/close braces.