apache / apache/incubator-seata
mycat 多租户使用注解型失败
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
mycat 多租户使用注解型失败,提示
Caused by: java.lang.UnsupportedOperationException: ONLY SUPPORT SAME TYPE (UPDATE OR DELETE) MULTI SQL -/*!mycat:datanode=W_TEMP*/UPDATE t_product SET MODIFY_DATE=?,
IS_DELETE=?,
MODIFY_USER_ID=?,
product_no_customs=?
如截图所示

Contributor guide
Research direction
Start with the reported UnsupportedOperationException and the annotated multi-tenant UPDATE SQL shown in the issue. Reproduce the failure using the reported Mycat multi-tenant setup, then trace the handling of this statement. Done means the annotated update no longer fails and the relevant behavior is covered by verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100