-
Notifications
You must be signed in to change notification settings - Fork 32
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
Could not find prepared statement with handle error #271
Comments
I need to have a look. Thanks for the reproducer. |
Same as I commented here a couple of days ago, should perhaps have created an issue like this. Thanks for reporting it as a separate issue @radovanradic ! |
@SimenRokaas Can you attach debug logs for the |
Sure
|
@mp911de Any news on this? After upgrading to the current Spring Boot Release we experience the same error. Some other tests suddenly run into
If I just pin the driver at |
I think there has been a bug for a longer period of time that now gets visible with the changed cursoring behavior. The JDBC driver attempts a re-prepare upon errors 8179 and 586. This is what we should attempt as well. |
We now reprepare (retry) a statement that is contextually invalid or cannot be found on the server. [resolves #271] Signed-off-by: Mark Paluch <[email protected]>
We now attempt a reprepare when encountering a no prepared statement response from the server. Please retry against the latest |
@mp911de OK, I cannot reproduce the "handle error" any more. Our tests fail with 1.0.2.BUILD-SNAPSHOT nevertheless. The problem seems to have something to do with concurrency though. If I run the failing tests by themselves they run fine. If I run everything in bulk I (for example) end up with
for example. Any suggestions what could go wrong here? Again: |
@kschlesselmann can you please file a new ticket along with a minimal reproducer? |
@mp911de OK. I'm afraid that'll be not so easy but let's see. |
I have this issue as mentioned in #248 (comment). With the latest SNAPSHOT in use the error is gone. |
I see a similar "Connection closed" exception (sometimes). Running version |
Hello,
Not sure if this is a bug or our issue, just wanted to ask if you have seen something similar. After upgrading to 1.0.1.RELEASE we are getting tests failing for r2dbc mssql
Reverting to 1.0.0.RELEASE fixes the issue. Also reverting only change in this commit for
MssqlConnectionConfiguration
class also fixes the issue. So it has something to do with the change aroundpreferCursoredExecution
but don't see we can do anything in our code to resolve it.Here is the sample app/test which can be used to reproduce the error. The test is for micronaut r2dbc module that worked previously.
Thanks and let me know if you see we can fix something on our end or this is a bug in latest release of mssql r2dbc.
Thanks,
Radovan
The text was updated successfully, but these errors were encountered: