Skip to main content
在 Manus 中运行任何 Skill
一键导入

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:2026年4月8日 03:26
文件资源管理器
5 个文件
SKILL.md
readonly