-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
全局事务id怎么获取? #327
Comments
存在threadLocal中的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Long transId = HmilyContextHolder.get().getTransId();
Long transId = HmilyTransactionHolder.getInstance().getCurrentTransaction().getTransId();
只有在事务发起方才能得到事务id,其它地方调用HmilyContextHolder.get()和HmilyTransactionHolder.getInstance().getCurrentTransaction()拿到的都是null?这是bug还是使用不对?
The text was updated successfully, but these errors were encountered: