Description
https://lists.apache.org/thread.html/Zghdtqgnqhzlnxs
ObjectIdQuery with CACHE setting bypasses cache when the ID resolves to a subclass. E.g. (using our unit test entities) :
new ObjectIdQuery(
new ObjectId("AbstractPerson", "PERSON_ID", 1),
false,
ObjectIdQuery.CACHE);