Skip to content

Loading…

DBAL-229: oic8 oci_pconnect is not surported #1404

Closed
doctrinebot opened this Issue · 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
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.