With DataNucleus' L2 cache configuration, the "datanucleus.cache.level2.maxSize" is used to configure the cache.
The docs say that -1 is the default, and imply that this is turned on.
I'm guessing that -1 therefore means provide a cache up until some sort of -Xmx heap limit; but is that right?
If some other value is used, what are the units? Is it number of cached objects, bytes used, Mbytes used, something else?