version 3.5.4-SNAPSHOT
XMLMapperBuilder#configurationElement(XNode context)
cacheRefElement(context.evalNode("cache-ref"));
cacheElement(context.evalNode("cache"));
The order of the above code is to parse the currentcache
,
currentCache = cache;
which will cause the
Comment From: harawata
Hi @dengchengchao ,
So, you added both <cache />
and <cache-ref />
to the same XML mapper?
What were you trying to achieve?
Reading the documentation of cache-ref, it seems obvious that <cache-ref />
and <cache />
are mutually exclusive.
Comment From: harawata
No response.