LDEV-4411 Stop using collection cache for nowCache annotations were commented out so we can come back to them easilyin the future.Collection cache is not detecting changes made to entities. When a newentity is added, collection cache does not see the change.Properly tweaking concurrency strategy does not seem possible at themoment, so we just turn it off.
LDEV-5248, LDEV-4411 Mark some collections as cacheableSimilar to query cache, the collection cache makes sense if the tablewhich collection elements map to do not change often. Each modificationto table content invalidates the given collection cache.
LDEV-5248, LDEV-4411 Mark some queries as cacheableQuery cache makes sense if tables which the query reference does notchange often. Each modification to table content invalidates the givenquery's cache. Also each set of query parameters is a different cacheentry, so if there are various parameter values the cache overhead cangenerate more load than benefit.