makeObjectVolatile

makeObjectVolatile(object: Object);

The makeObjectVolatile method of the Object class changes the volatility state of the persistent object specified in the object parameter to volatile. Alternatively, you can call the changeObjectVolatility method to change the volatility state of an object. For details, see "Cache Concurrency", in Chapter 6 of the Developer's Reference.

A frozen object can be updated only by first changing its volatility to stable or to volatile (that is, by calling the makeObjectStable or makeObjectVolatile method).

When attempting to change the volatility of a frozen object, an exception (1068 - Feature not available in this release) is raised if the object is in use by another process. In a multiuser application where production mode is set, it is not possible to determine whether an object is in use by another process. In that case, the exception is always raised; that is, the makeObjectStable or makeObjectVolatile method always raises an exception in a multiuser system with production mode set.