apache / apache/incubator-seata

mycat 多租户使用注解型失败

Open
#4,007 0 comments 0 reactions 0 assignees View on GitHub
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=?

如截图所示
![image](https://user-images.githubusercontent.com/13345594/132306556-9e90b331-01dd-4e47-94ab-07a84352fd7c.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.