shijie-328931589 opened a new issue, #31427:
URL: https://github.com/apache/shardingsphere/issues/31427
## Bug Report
### Which version of ShardingSphere did you use?
5.4.1
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
database: PostgreSQL
sql: update test_table set resume_number=resume_number+1 where id=#{id}
returning resume_number
api: ShardingSphereConnection.prepareStatement(sql).getResultSet();
expected get resume_number
### Actual behavior
the resultSet is null
### Reason analyze (If you can)
the sql is not match condition "executionContext.getSqlStatementContext()
instanceof SelectStatementContext ||
executionContext.getSqlStatementContext().getSqlStatement() instanceof
DALStatement"
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule
configuration, when exception occur etc.
### Example codes for reproduce this issue (such as a github link).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]