Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-229

oic8 oci_pconnect is not surported

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3
    • Component/s: Drivers
    • Security Level: All
    • 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?

        Activity

        zhouhero created issue -
        Hide
        Benjamin Eberlei added a comment -

        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.

        Show
        Benjamin Eberlei added a comment - 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.
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3 [ 10184 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13490 ] jira-feedback2 [ 17800 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17800 ] jira-feedback3 [ 20155 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DBAL-229, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            zhouhero
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: