Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.
This commit is contained in:
parent
7f07d737f8
commit
786017c247
|
@ -124,6 +124,7 @@ class OC_DB {
|
|||
$connectionParams['port'] = $port;
|
||||
}
|
||||
$connectionParams['adapter'] = '\OC\DB\AdapterOCI8';
|
||||
$eventManager->addEventSubscriber(new \Doctrine\DBAL\Event\Listeners\OracleSessionInit);
|
||||
break;
|
||||
case 'mssql':
|
||||
$connectionParams = array(
|
||||
|
|
Loading…
Reference in New Issue