Skip to main content
Manusで任意のスキルを実行
ワンクリックで

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