code: public Object getLastModified(int iHandleType)
      {
          if ((iHandleType & DBConstants.OBJECT_SOURCE_HANDLE) != DBConstants.OBJECT_SOURCE_HANDLE)
              iHandleType = DBConstants.BOOKMARK_HANDLE;      // This guarantees local and remote synchronization
          if (iHandleType == DBConstants.BOOKMARK_HANDLE)
              if (m_LastModifiedBookmark != null)
                  return m_LastModifiedBookmark;      // Ignore the iHandleType (Always bookmark type for JDBC)
          try   {
              synchronized (this.getSyncObject())
              {   // In case this is called from another task
                  return m_tableRemote.getLastModified(iHandleType);
              }
          } catch (Exception ex) {
              ex.printStackTrace();
          }
          return null;
      }
docs: 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.