1、fix transcation invalid#4509
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
Thanks for the pull request. However, I'd like to learn more about what this change solves. Since there is no checked exception thrown for method |
I think rollbackfor can not be added but the @transcation annotation should be added, otherwise the transaction of the "assignNamespace" method will be invalidated |
|
Yes, but I think the |
|
OK, then I think it's reasonable to add |
ok, I modified the commit |

What's the purpose of this PR
Fix transaction invalid
sonar prompt bug is "assignNamespaceRoleToConsumer's" @transactional requirement is incompatible with the one for this method.
Follow this checklist to help us incorporate your contribution quickly and easily:
mvn clean testto make sure this pull request doesn't break anything.CHANGESlog.