xenoterracide
09/09/2019, 4:35 PM@SpringBootTest
javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'merge' call
ienoobong
09/09/2019, 6:07 PM@DataJpaTest
or similarxenoterracide
09/09/2019, 6:09 PMBorgers Toon
09/10/2019, 7:40 AM@Transactional
annotation on the test class/method. You'll get a test transaction you can commit/rollback manually: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/test/context/transaction/TestTransaction.html