This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions pageOpens in a new window (login required).

Caché & Ensemble 2018.1.5Opens in a new window > Class Reference > %SYS namespace > %Library.ObjectJournalTransaction


persistent class %Library.ObjectJournalTransaction extends %Library.Persistent

SQL Table Name: %Library.ObjectJournalTransaction

Property Inventory (Including Private)

Method Inventory (Including Private)


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.

Properties (Including Private)

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()

Methods (Including Private)

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 (Including Private)


Storage Model: CacheStorage (%Library.ObjectJournalTransaction)

FeedbackOpens in a new window