Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

spring-jpa-testing

// @DataJpaTest requires TestEntityManager + flush()/clear() before assertions — without this, tests read from Hibernate L1 cache and pass falsely. Read before writing any JPA test. Triggers: @DataJpaTest, JpaRepository, TestEntityManager, @ServiceConnection, Testcontainers, @Modifying, Hibernate 6/7, @AutoConfigureTestDatabase, flush and clear in tests, @Transactional in tests, jakarta.persistence.EntityManager.

$ git log --oneline --stat
stars:43
forks:2
updated:8 avril 2026 à 03:26
Explorateur de fichiers
5 fichiers
SKILL.md
readonly