Computer Science, asked by jagadeeswareddy4557, 1 year ago

Explain persistence of objects in detail

Answers

Answered by amanghanauli
0
A persistent object is an object that has been assigned a storage location in a federated database. When you commit the transaction in which you create a persistent object, that object's data is saved in the database; the object can then be accessed by other processes. A persistent object continues to exist beyond the duration of the process that creates it. In contrast, a transient object exists only within the memory of the process that creates it; when that process terminates, the transient object ceases to exist.
Similar questions