-
Notifications
You must be signed in to change notification settings - Fork 426
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
Release | 7.4.1 Hotfix release #1121
Conversation
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. | |||
|
|||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | |||
|
|||
## [7.4.1] HotFix & Stable Release | |||
### Fixed Issues | |||
- Reverted [#1025](https://github.com/Microsoft/mssql-jdbc/pull/1025) as it contains breaking changes. This removes `hashCode()` and `equals()` APIs from `SQLServerDataTable` and `SQLServerDataColumn`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted #1025 as it changes API definition for SQLServerDataTable.getIterator()
that causes breaking change. This change also removes hashCode()
and equals()
APIs from SQLServerDataTable
and SQLServerDataColumn
.
@@ -285,7 +282,7 @@ private void internalAddrow(JDBCType jdbcType, Object val, List<Object> rowValue | |||
currentColumnMetadata.precision = nValueLen; | |||
columnMetadata.put(pair.getKey(), currentColumnMetadata); | |||
} | |||
rowValues.set(key, val); | |||
rowValues[key] = val; | |||
break; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At Line 301, in the else block before the condition, you need to assign rowValues[key] = null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that needed to happen. rowValues[key] would have already been null since nothing else would have set it.
Reverted #1025 as it contains breaking changes. This removes
hashCode()
andequals()
APIs fromSQLServerDataTable
andSQLServerDataColumn
.