Skip to content
Advertisement

Tag: amazon-aurora

@Transactional – rollback on Exception not working

I am using aurora mysql for one of my project, wanted to rollback db update in update2 method in case of any exception. If I add transaction on update, getting this error Access denied for user ‘root’@’localhost’ (using password: NO). Without transactional annotation, I’m able to perform db operation, there is no issue with credentials. sudo code: Can someone suggest

Advertisement