protected function connect(
        $username,
        $password,
        $connectionString = null,
        $characterSet = null,
        $sessionMode = null
    ) {
        set_error_handler(static::getErrorHandler());
        $connection = oci_new_connect($username, $password, $connectionString, $characterSet, $sessionMode);
        restore_error_handler();
        return $connection;
    }
protected function connect(
        $username,
        $password,
        $connectionString = null,
        $characterSet = null,
        $sessionMode = null
    ) {
        set_error_handler(static::getErrorHandler());
        $connection = oci_new_connect($username, $password, $connectionString, $characterSet, $sessionMode);
        restore_error_handler();
        return $connection;
    }
protected function connect ( $ username , $ password , $ connectionString = null , $ characterSet = null , $ sessionMode = null ) { set_error_handler ( static :: getErrorHandler ( ) ) ; $ connection = oci_new_connect ( $ username , $ password , $ connectionString , $ characterSet , $ sessionMode ) ; restore_error_handler ( ) ; return $ connection ; }
Connect to the Oracle server using a unique connection

@param string $username
@param string $password
@param string $connectionString
@param string $characterSet
@param int $sessionMode
@return resource
@throws \Jpina\Oci8\Oci8Exception
@see http://php.net/manual/en/function.oci-new-connect.php
Connect to the Oracle server using a unique connection