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
With the re-introduction of retry logic for prepared statements we should not retry if the statement needs to be prepared. For some reason this was removed late in pr #618 and needs to be put back.
I.e. for retryBasedOnFailedReuseOfCachedHandle pass needsPrepare and return false if needsPrepare is true.
The text was updated successfully, but these errors were encountered:
https://github.com/Microsoft/mssql-jdbc/blob/a64b9ef50076ab42eba898d76ae45db27ad24c45/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerPreparedStatement.java#L568
@cheenamalhotra
With the re-introduction of retry logic for prepared statements we should not retry if the statement needs to be prepared. For some reason this was removed late in pr #618 and needs to be put back.
I.e. for
retryBasedOnFailedReuseOfCachedHandle
passneedsPrepare
and return false ifneedsPrepare
istrue
.The text was updated successfully, but these errors were encountered: