public Object getLastModified(int iHandleType)
    {
        if ((iHandleType & DBConstants.OBJECT_ID_HANDLE) == DBConstants.OBJECT_ID_HANDLE)
            iHandleType = DBConstants.BOOKMARK_HANDLE;
        if (iHandleType == DBConstants.BOOKMARK_HANDLE)
            if (m_LastModifiedBookmark != null)
                return m_LastModifiedBookmark;      // Ignore the iHandleType (Always bookmark type for JDBC)
        return super.getLastModified(iHandleType);
    }
public Object getLastModified ( int iHandleType ) { if ( ( iHandleType & DBConstants . OBJECT_ID_HANDLE ) == DBConstants . OBJECT_ID_HANDLE ) iHandleType = DBConstants . BOOKMARK_HANDLE ; if ( iHandleType == DBConstants . BOOKMARK_HANDLE ) if ( m_LastModifiedBookmark != null ) return m_LastModifiedBookmark ; return super . getLastModified ( iHandleType ) ; }
Get the Handle to the last modified or added record.
This uses some very inefficient (and incorrect) code... override if possible.
NOTE: There is a huge concurrency problem with this logic if another person adds
a record after you, you get the their (wrong) record, which is why you need to
provide a solid implementation when you override this method.
@param iHandleType The handle type.
@return The bookmark.