Hello,

is there any reason, why additional params cannot be set to 
ezcDbFactory::create()?

Current problem:
I want to set PDO::ATTR_PERSISTENT.

This is not possible, because db handler (in my case mysql) constructor 
calls to PDO with

parent::__construct 
<http://ez.no/doc/components/view/trunk/%28file%29/Database/ezcDbHandler.html#method__construct>(
 $dbParams, $dsn );

not 

parent::__construct 
<http://ez.no/doc/components/view/trunk/%28file%29/Database/ezcDbHandler.html#method__construct>(
 $dbParams, $dsn, array(additional params );


there is no way to set additional params in handler and factory.

so ezcDbFactory::create may be called in this way:
ezcDbFactory::create($dbParams,$additionalParams)?

and the handler constructor so on.


Regards

Christian Michel


-- 
Christian Michel
Programmierung / Technik
www.billiger-mietwagen.de

-----------------------------
TourWerk GmbH
Alter Markt 36-42
50667 Köln
HRB: 56068 (Amtsgericht Köln)
Geschäftsführer: Christian Mahnke


Tel.: (+49) 0221 272-408-06
Fax: (+49) 0221 272-408-29
[EMAIL PROTECTED]

-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to