#2356·dbal

oracle driver ignores driver options

Author: butonicCreated Apr 12, 2016Updated Jun 25, 2026
LabelsImprovementoci8pdo_oci

The driver options array passed in in https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Driver/OCI8/Driver.php#L36 is ignored and options like sessionMode, persistent and pooled are taken from $params.

The adapters in doctrine currently treat $driverOptions differently:

So I think merging the db options with the params array is a good enough solution. It is what we are planning to do as a workaround until we update to latest doctrine: https://github.com/owncloud/core/pull/23938

Opinions?