gpt4 book ai didi

spring r2dbc with custom aop is not working(带有自定义AOP的Spring r2dbc不起作用)

转载 作者:bug小助手 更新时间:2023-10-24 20:11:07 26 4
gpt4 key购买 nike



I am using spring aop and r2dbc.

我使用的是Spring AOP和r2dbc。


By the way, if you use @transactional and the aop I made, only transactional is applied.

顺便说一句,如果您使用@TRANSACTIONAL和我创建的AOP,则只应用TRANSACTIONAL。


When spring aop and jpa were used, when additional aop was applied by attaching @transactional and @Logging annotations to one method, transactional was performed first, and then aop applied to logging annotation worked.

当使用Spring AOP和JPA时,当通过将@Transaction和@Logging注释附加到一个方法来应用额外的AOP时,首先执行事务性,然后将AOP应用于日志注释。


By the way, when using spring aop and r2dbc, only @Transactional is applied, and the aop I applied is not working.

顺便说一句,当使用Spring AOP和r2dbc时,只应用了@Transaction,而我应用的AOP不起作用。


If I give an order to aop, the custom advisor will work first, so why does it work normally, but if i don't give an order doesn't work.

如果我给AOP下一个命令,定制顾问将首先工作,那么为什么它正常工作,但如果我不给一个命令就不工作。


更多回答

Welcome to SO. Please learn how to ask a question on SO and provide a minimal, complete, and verifiable example. With all due respect, nobody here has a magical crystal globe, can read your mind or debug prose. Thank you.

欢迎来到So。请学习如何在SO上提问,并提供一个最小的、完整的和可验证的例子。恕我直言,这里没有人有神奇的水晶球,可以读懂你的心思或调试散文。谢谢。

优秀答案推荐
更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com