company logo

ObjectSpace :: internalTransaction - Is internal transaction running

Internal transactions are started by the ODABA system, when performing update operations. Within an internal transaction one cannot start an update transaction (beginTransaction()). This property indicates, whether an internal transaction is running (true) or not (false).

In order to avoid exceptions, the property should be checked, before starting a transaction in a property context handler.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool ObjectSpace  :: internalTransaction (  )