[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


 Description   

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?



 Comments   
Comment by Benjamin Eberlei [ 31/Mar/12 ]

Implemented.

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 Sun Nov 23 12:30:45 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.