public void setup() { super.setup(); this.reset = true; // Clear the cache so we are working from scratch. ((EntityManagerImpl) getEntityManager()) .getActiveSession() .getIdentityMapAccessor() .initializeAllIdentityMaps(); }
public void reset() { if (reset) { reset = false; } super.reset(); }