Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 junit5 中使用 AbstractTransactionalJUnit4SpringContextTests?
是的你可以。Junit4 是所需的最低版本。请注意,这AbstractTransactionalJUnit4SpringContextTests只是将@Transactional挂钩委托给JdbcTestUtils.
AbstractTransactionalJUnit4SpringContextTests
@Transactional
JdbcTestUtils