docs: public int getDefaultLockType(int iDatabaseType)
      {
          if ((iDatabaseType & Constant.REMOTE) != 0)
              return Constant.OPEN_LAST_MOD_LOCK_TYPE;
          if ((iDatabaseType & Constant.LOCAL) != 0)
              return Constant.OPEN_NO_LOCK_TYPE;
          return Constant.OPEN_NO_LOCK_TYPE;
      }