class OracleSessionInit implements EventSubscriber (View source)

Should be used when Oracle Server default environment does not match the Doctrine requirements.

The following environment variables are required for the Doctrine default date format:

NLS_TIME_FORMAT="HH24:MI:SS" NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS" NLS_TIMESTAMP_FORMAT="YYYY-MM-DD HH24:MI:SS" NLS_TIMESTAMP_TZ_FORMAT="YYYY-MM-DD HH24:MI:SS TZH:TZM"

Properties

protected array $_defaultSessionVars

Methods

__construct(array $oracleSessionVars = array())

No description

void
postConnect(ConnectionEventArgs $args)

No description

getSubscribedEvents()

{@inheritdoc}

Details

__construct(array $oracleSessionVars = array())

Parameters

array $oracleSessionVars

void postConnect(ConnectionEventArgs $args)

Parameters

ConnectionEventArgs $args

Return Value

void

getSubscribedEvents()

{@inheritdoc}