javax.persistence.TransactionRequiredException: no transaction is in progress, @Transactional(propagation=Propagation.REQUIRED) not working
问题 Whenever I try to entityManager.flush() I get the error mentioned on title. That is interesting that all my models have been created properly on MySql during application start up. I have read several questions with similar exception and basically all of them point to use/change @Transaction somehow. Any suggestion or even a scratch idea about what to check will be highly appreciated. I don't think it is really relevant but let me inform btw: I am using WebSphere Liberty Profile + MySql. where