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

Added "NOT IN" predicate.
Fixed MethodScanner that on latest prm value fails

Unit test for this case added anyway
- 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.
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 branch 'hotfix/5471'

Close #5471
remove unused uses
using php-cs-fixer
undo change that necessary in ZendTest/Code
update check-cs.sh to automate check unused use
Merge pull request #5472
Merge pull request #5472 in develop
Merge pull request #5472 in master
Remove unused use.
Merge commit 'refs/pull/5125/head' of github.com:zendframework/zf2 into hotfix/5125