gongycn commented on PR #6629:
URL: https://github.com/apache/incubator-seata/pull/6629#issuecomment-2185538599

   > 我们是否可以将sql进行解析,如果这个sql是select类型的sql,就不进行xa相关的事务动作? Can we parse the SQL 
statement to skip XA-related transaction actions if the SQL is of type SELECT?
   
   Simple branch logic composed of basic SQL can be implemented this way, but 
consideration is needed if the transaction involves more complex scenarios such 
as calling stored procedures under XA branch transactions. The business logic 
within stored procedures may not be straightforward to determine.
   
   Moreover, in Oracle, the prepare phase can explicitly indicate whether the 
branch is read-only, so it may feel unnecessary to handle it in this way.


-- 
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: notifications-unsubscr...@seata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org
For additional commands, e-mail: notifications-h...@seata.apache.org

Reply via email to