You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reporting this issue. Special thanks to @Ruffianjiang for the valuable clue regarding useServerPrepStmts=true.
It appears there is a compatibility issue between Doris and newer versions of mysql-connector-j (9.5.0+) when server-side prepared statements are enabled.
To help us diagnose the root cause more efficiently, could you please provide complete reproduction steps?
The dependency information you provided is helpful, but a minimal, reproducible Java code snippet would be highly appreciated. Please include:
The complete JDBC connection URL (including any parameters).
The table creation statement.
The Java code used to insert test data and execute the query that returns empty results.
Activity
Ruffianjiang commentedon Feb 26, 2026
是不是jdbc的参数useServerPrepStmts=true的问题,设置成false能正常查询到
3.1.4也是这个问题
morningman commentedon Mar 3, 2026
Thank you for reporting this issue. Special thanks to @Ruffianjiang for the valuable clue regarding
useServerPrepStmts=true.It appears there is a compatibility issue between Doris and newer versions of
mysql-connector-j(9.5.0+) when server-side prepared statements are enabled.To help us diagnose the root cause more efficiently, could you please provide complete reproduction steps?
The dependency information you provided is helpful, but a minimal, reproducible Java code snippet would be highly appreciated. Please include:
Ruffianjiang commentedon Mar 3, 2026
以下是复现的主要代码 @morningman
表现结果:
建表
初始化sql
pom.xml
application.yml
User
UserMapper
UserService
UserServiceImpl
UseServiceQueryTest
morningman commentedon Mar 4, 2026
Thank you for providing the detailed reproduction steps.
We have successfully reproduced this issue on our end. We are currently working on a fix and will update this thread once it is resolved.
[fix](protocol) Support CLIENT_DEPRECATE_EOF to fix empty result with…
[fix](protocol) Support CLIENT_DEPRECATE_EOF to fix empty result with…
[fix](protocol) Support CLIENT_DEPRECATE_EOF to fix empty result with…