2 Replies Latest reply on Jun 29, 2007 8:09 AM by Manik Surtani

    Fqn element types

    Adrian Sandor Newbie

      I'm using JBC 2.0.0.CR2; the docs for Fqn say that a Fqn "is a list of names (typically Strings but can be any Object)". However, in CacheLoader, getChildrenNames is declared to return a Set. Besides being inconsistent, this leads to a weird situation where a node's children (with Integer "names") are in memory but because getChildrenNames returns strings, Node.getChildren() will not find them (usually an Integer and its String representation have different hash codes) so it reloads them from the cache loader.
      How can this be solved?