Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

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. April 2026 um 03:26
Datei-Explorer
5 Dateien
SKILL.md
readonly