perf(document): EAGER→LAZY migration with @EntityGraph + @BatchSize (#467) #622
@@ -551,6 +551,7 @@ class DocumentRepositoryTest {
|
||||
entityManager.flush();
|
||||
entityManager.clear();
|
||||
Statistics stats = entityManagerFactory.unwrap(SessionFactory.class).getStatistics();
|
||||
stats.setStatisticsEnabled(true);
|
||||
stats.clear();
|
||||
|
||||
documentRepository.findById(doc.getId());
|
||||
|
||||
Reference in New Issue
Block a user