fuchanghai commented on PR #15270: URL: https://github.com/apache/dolphinscheduler/pull/15270#issuecomment-1888650604
> > hi @Gallardot I remember that for nested things, you need to use a proxy object to make it effective. and need add ` EnableAspectJAutoProxy` on Application cc @ruanwenjun > > Which part does it mean? <img width="1005" alt="image" src="https://github.com/apache/dolphinscheduler/assets/33984497/17ed73ef-279e-47a3-b1d4-449fa45fe6cb"> The transaction has been opened on the handleCommand method, and I am not sure whether the new transaction in this method will take effect. AFAIK, this is a nested transaction and needs to be enabled for annotations to take effect. ```@ EnableAspectJAutoProxy(exposeProxy = true) ```,Maybe I'm wrong, you can test whether the database data is updated after running the upsert method? cc @EricGao888 @ruanwenjun -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
