Coder Social home page Coder Social logo

Comments (3)

changmingxie avatar changmingxie commented on June 19, 2024

@liuyb02 能举例说明下 期望的调用方式么?

from tcc-transaction.

liuyb02 avatar liuyb02 commented on June 19, 2024

1、目前我的应用中所有都是通过接口调用,包括ROOT也是通过接口反射调用。我发现如果不加proxy-target-class就不能被compensable的aspect捕获到。我改后可以了。
2、另外confirm和cancel方法是不是也应该加compensable注解?我看你代码里provider的处理里有,如果不加没法propagationexist。
3、threadlocal存的transaction如果有嵌套调用或者同一线程两次调用时就会造成覆盖,我在自己代码里改成用stack,在操作进入和退出时通过入栈出栈的方法保存前一个transaction。
@changmingxie

from tcc-transaction.

lovelivestyle1102 avatar lovelivestyle1102 commented on June 19, 2024

@liuyb02 请问的嵌套事务是怎么做的。我现在嵌套出现很多异常,页出现部分业务调用俩次一些confirm又不调用的情况。

from tcc-transaction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.