Checking an Edition

The jomGetLatestEdition call, shown in the following example, loads the pEdition parameter for the object specified in the pOid parameter with the edition of the object held in the database physical buffer.

int jomGetLatestEdition(const DskHandle   *pHandle,
                        const DskObjectId *pOid,
                        Edition           *pEdition,
                        UInt32            lineNo)

The JADE Object Manager maintains a set of logical object buffers for each client node. These buffers are additional to the buffers provided by the underlying database management system. In a multiuser environment, these logical buffers may not necessarily reflect the current information in the database.

The parameters for this call are described in the following subsections.