HHH-7959 gracefully handle non-transactional entity cache