fix failures in requesthandling test
@@ -912,6 +912,7 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
/** Manage re-using cached handles */
private boolean reuseCachedHandle(boolean hasNewTypeDefinitions, boolean discardCurrentCacheItem) {
if (definitionChanged) {
+ prepStmtHandle = -1; // so that hasPreparedStatementHandle() also returns false
return false;
}
