incubator-zeta-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Hopfgartner <peter.hopfgart...@r3-gis.com>
Subject Re: Create persistent connections to Oracle
Date Wed, 28 Mar 2012 07:02:40 GMT
On 03/27/2012 06:09 PM, Peter Hopfgartner wrote:
> I would like to pass something like PDO::ATTR_PERSISTENT in 
> ezcDbFactory::create. Is this possible?
>
> Thanks,
>
> Peter
>

Ok, I've got it: additional options are passed as 'driver-opts' in the 
dsn array:

$dsn = (
'phptype' => 'oci8',
...
'driver-opts' => array(PDO::ATTR_PERSISTENT => true)
)

-- 
Peter Hopfgartner
web  : www.r3-gis.com



Mime
View raw message