[DBAL-229] oic8 oci_pconnect is not surported Created: 02/Mar/12  Updated: 31/Mar/12  Resolved: 31/Mar/12

Status: Resolved
Project: Doctrine DBAL
Component/s: Drivers
Affects Version/s: 2.2.1
Fix Version/s: 2.3
Security Level: All

Type: Bug Priority: Trivial
Reporter: zhouhero Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


public function __construct($username, $password, $db, $charset = null, $sessionMode = OCI_DEFAULT)
if (!defined('OCI_NO_AUTO_COMMIT'))

{ define('OCI_NO_AUTO_COMMIT', 0); }

$this->_dbh = @oci_connect($username, $password, $db, $charset, $sessionMode);
if (!$this->_dbh)

{ throw OCI8Exception::fromErrorInfo(oci_error()); }


How can i use oci_pconnect in oic8 driver?

Comment by Benjamin Eberlei [ 31/Mar/12 ]


There are now two new options in the oci8 connection:

1. $param['pooled'] to use the POOLED connection option
2. $param['persistent'] to use persistent connections.

Generated at Mon Nov 30 23:01:33 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.