MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 7: BLOBs and COM Objects


 

IPersist* Objects, Rowset Update Semantics, and ITransaction

IPersist* objects provide yet another layer between the object and the data in the data store. Data stored in an IPersist* object is not exposed to its underlying storage object—and hence, to other transactions—until it is persisted by using IPersist*. After the data is persisted, the storage object to which it was persisted controls when it is available to the rowset and to other transactions. For more information, see "Storage Objects and Rowset Update Semantics" and "Storage Objects and Transactions," earlier in this chapter.

The methods on ITransaction can indirectly affect IPersist* objects. For example, committing or aborting a transaction might send into a zombie state the storage object associated with the IPersist* object. For more information, see "Storage Objects and Transactions," earlier in this chapter.