prohibitBeginTransaction

prohibitBeginTransaction(prohibited: Boolean): Boolean updating;

Set the prohibited parameter in the prohibitBeginTransaction method of the Process class to true if you do not want the current process to be able to enter persistent transaction state. If transactions are prohibited (or allowed) for a method executing on a client node and a serverExecution method is called, transactions will also be prohibited (or allowed) on the server node. This also applies when method execution switches from the server to the client.

To enable the process to enter transaction state, this method must be called with the prohibited parameter set to false.

The prohibitBeginTransaction method returns true only if the current process was already prohibiting entry into persistent transaction state.

You can call the prohibitBeginTransaction method only for the current process.