code: public int getDefaultLockType(int iDatabaseType)
      {
          if ((iDatabaseType & Constants.REMOTE) != 0)
              return Constants.OPEN_LAST_MOD_LOCK_TYPE;
          if ((iDatabaseType & Constants.LOCAL) != 0)
              return Constants.OPEN_NO_LOCK_TYPE;
          return Constants.OPEN_NO_LOCK_TYPE;
      }
docs: Get the default lock strategy to use for this type of table.
  @return The lock strategy.