prohibitPersistentUpdates(prohibited: Boolean): Boolean updating;
Set the prohibited parameter in the prohibitPersistentUpdates method of the Process class to true if you do not want persistent objects in the current process to be updated. When the updating of persistent objects is prohibited in the current process, any attempt to do so raises a 1271 exception (that is, An attempt was made to perform an operation that is prohibited in this context). If the updating of persistent objects is prohibited (or allowed) for a method executing on a client node and a
When the updating of persistent objects in the process of the receiver is prohibited, the following operations are also prohibited.
Creating or deleting a persistent object
Cloning or copying to a persistent object
Executing the
Executing the
When the updating of persistent objects in the process is prohibited, setting the value of the prohibited parameter to false removes the prohibition and allows persistent objects to once again be updated.
The
The prohibitPersistentUpdates method returns true only if the current process was already prohibiting the updating of persistent objects.
This method applies only to the current process.
The prohibitPersistentUpdates method is designed to prevent unexpected updates to persistent objects. It is not intended to be a comprehensive security measure.