allowTransientToPersistentInvs

allowTransientToPersistentInvs(allow: Boolean);

The allowTransientToPersistentInvs method of the Process class enables a transient object to reference a persistent object without its inverse being maintained. Calling this method with the allow parameter set to true is equivalent to enabling the Allow Transient to Persistent Reference check box on the extended Define References dialog for all references until this method is called with the allow parameter set to false.

For more details, see "Defining an Inverse Reference Property", in Chapter 4 of the JADE Development Environment User’s Guide.

The initial state of a process is to disallow such references (that is, as if this method had been called with a value of false) and attempts to do so raise a 1215 exception (that is, Persistent objects cannot reference transient objects).

Use the transientPersistentInvsEnabled method to return the current state of the process.