Is there a tutorial or any kinda documentation anywhere online for ZF2 integration with Sql Server. I have tried and tested the things which are already there and where some are deprecated as well.
The SQLSRV is pretty painful driver to get it working, in one of the examples, i tried downloading the extensions and enabling it in the php.ini files as well. i have had no luck.
This is the closest that i got to. But it doesn't seem like its working. http://samsonasik.wordpress.com/2013/03/08/zend-framework-2-working-with-sql-server/#comments
An exception was raised while creating "Album\Model\AlbumTable"; no instance returned this is the error that i encounter if i run the akrabat zf2-tutorial application with sql server.
this is how my global.php looks like
return array(
'db' => array(
'driver' => 'Sqlsrv',
'server' => 'servername',
'Database' => 'databasename',
'USER' => 'sa',
'password' => 'password'
);
'service_manager' => array(
'factories' => array(
'Zend\Db\Adapter\Adapter' => 'Zend\Db\Adapter\AdapterServiceFactory',
),
),
);