lib/db: Allow to create oracle (pdo_oci) connections

refs #9683
This commit is contained in:
Eric Lippmann 2015-09-07 16:14:11 +02:00
parent a42c8d1f24
commit 44c19fc5e6
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ class DbConnection implements Selectable, Extensible, Updatable, Reducible, Insp
'lob_as_string' => true
);
break;
case 'oracle':
$adapter = 'Pdo_Oci';
break;
case 'pgsql':
$adapter = 'Pdo_Pgsql';
$adapterParamaters['port'] = $this->config->get('port', 5432);