HHH-5690 : Entity cache after persist, flush, rollback (test case)

(cherry picked from commit dad4c64d5694262eee86f4645ac61dffa489b03e)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java