解決報錯:No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call
在對應的Service方法上添加事務註解@Transactional(rollbackOn = Exception.class)
解決報錯:No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call
在對應的Service方法上添加事務註解@Transactional(rollbackOn = Exception.class)