alibaba / alibaba/cobar

manager throw java.sql.SQLException: Unsupported statement

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

日志级别设置为debug后,JdbcTemplate会抛出Unsupported Statement异常,原因在于cobar监控不支持show warnings命令

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the exception with debug logging enabled and trace the JdbcTemplate path that issues SHOW WARNINGS. Then inspect Cobar's monitoring or statement handling for that command; done means debug logging no longer causes the unsupported-statement SQLException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
backend, 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.