apache / apache/incubator-seata
Caused by: org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: com.alibaba.druid.sql.parser.ParserException
Open
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
项目集成seata1.1.0后, 原正常的查询语句报错, 经多次测试,发现和mybatis 嵌套有关, 本项目有三级嵌套,最里层插值表达式会出现 ? 未被替换的问题
Contributor guide
Research direction
Start by reproducing the reported failure after integrating Seata 1.1.0 with a MyBatis query containing three nested levels. Inspect the interaction between nested interpolation and the Druid SQL parser, focusing on why the innermost expression remains as a question mark. Done means the query prepares successfully without the reported ParserException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100