DBAL-229: oic8 oci_pconnect is not surported #1404

Closed
doctrinebot opened this Issue Mar 2, 2012 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user zhouhero:

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?

@doctrinebot

Comment created by @beberlei:

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.
@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label Dec 6, 2015
@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment