This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %Library.ObjectJournalTransaction


persistent class %Library.ObjectJournalTransaction extends %Library.Persistent

SQL Table Name: %Library.ObjectJournalTransaction

Property Inventory

Method Inventory


parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.


property ChangedProperties as %List;
Property methods: ChangedPropertiesGet(), ChangedPropertiesGetStored(), ChangedPropertiesIsValid(), ChangedPropertiesLogicalToOdbc(), ChangedPropertiesOdbcToLogical(), ChangedPropertiesSet()
relationship Records as array of %Library.ObjectJournalRecord [ InitialExpression = $listbuild("%Library.ObjectJournalRecord","Transaction",+$this,"children",1,1) , Transient , Inverse = Transaction , Cardinality = children ];
Property methods: RecordsGet(), RecordsGetObject(), RecordsGetObjectId(), RecordsGetSwizzled(), RecordsIsEmpty(), RecordsIsValid(), RecordsNewObject(), RecordsRClose(), RecordsRExec(), RecordsRFetch(), RecordsRelate(), RecordsSQLCompute(), RecordsSet(), RecordsUnRelate()
property SysTranId as %SYS.Journal.Transaction;
Property methods: SysTranIdGet(), SysTranIdGetObject(), SysTranIdGetObjectId(), SysTranIdGetStored(), SysTranIdGetSwizzled(), SysTranIdIsValid(), SysTranIdNewObject(), SysTranIdSet(), SysTranIdSetObject(), SysTranIdSetObjectId(), SysTranIdUnSwizzle()
property TranId as %Integer [ Required ];
Property methods: TranIdDisplayToLogical(), TranIdGet(), TranIdGetStored(), TranIdIsValid(), TranIdLogicalToDisplay(), TranIdNormalize(), TranIdSet()


method AddJrnTranToSyncSet(objSyncSet As %ObjectHandle, lExclude As %List) as %Status
classmethod PurgeUpToTxn(minValue As %Integer) as %Status
This method removes entries from the object journal up to minValue (exclusive)


index (IDKey on TranId) [IdKey, Type = key];
Index methods: IDKeyCheck(), IDKeyDelete(), IDKeyExists(), IDKeyOpen(), IDKeySQLCheckUnique(), IDKeySQLExists(), IDKeySQLFindPKeyByConstraint(), IDKeySQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Storage Model: CacheStorage (%Library.ObjectJournalTransaction)

FeedbackOpens in a new window