-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When use mybatis recent version how to use executeQuery() #2891
Comments
ShardingSphere is faced on JDBC layer, it doesn't care about ORM. |
No error, execute() don't merge the result, but it processLimit before (When limit=10, offset=100, it will set the limit=0, offset=110), last the execute() will return the page result of 0 to 110, not 10 offset 100. |
There is no relationship with mybatis and its version. |
Yes, I have tried.
|
supplement: sharding version is 3.1.0 |
Question
When using mybatis3.4.x for query. It will invoke PreparedStatementHandler.query, it's code is :
It will invoke the PreparedStatement.execute() not the PreparedStatement.executeQuery(), so it can't invoke the ShardingPrepareStatement.executeQuery() too.
So How Can i invoke的executeQuery() when use Mybatis?
Thanks a lot!
The text was updated successfully, but these errors were encountered: