| 1. The javadoc of StatelessSession states that "a stateless session does not [...] interact with any second-level cache", meaning that maybe our "cacheable" parameter makes no sense? 2. The javadoc of StatelessSession states that "Collections are ignored by a stateless session": what if we want to index a collection? Does it even work? 3. Did we make sure to use read-only transactions? 4. We do have a fetch size parameter, but do we check that it's lower than the partition size? It may be a good idea... |