Skip to content
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

hprose 客户端怎么管理服务端的事务呢? #156

Open
Lu183 opened this issue Apr 11, 2023 · 2 comments
Open

hprose 客户端怎么管理服务端的事务呢? #156

Lu183 opened this issue Apr 11, 2023 · 2 comments

Comments

@Lu183
Copy link

Lu183 commented Apr 11, 2023

遇到个疑问希望可以得到解答,网上查了很久没有找到hprose 客户端使用服务端的事务的介绍

@xinlongnews
Copy link

xinlongnews commented Apr 11, 2023 via email

@andot
Copy link
Member

andot commented Apr 11, 2023

关于事务这种也许应该在服务器端方法内部来处理,这样才能保证一个调用要么成功,要么失败并自动回滚。要是分成多个方法,让客户端来处理事务,就没办法保证这一点了。所以,既然事务都在服务器端内部处理了,也就没什么客户端使用事务这回事了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants