Skip to content

Update versions to fix vulnerabilities#1689

Merged
cheenamalhotra merged 2 commits intomicrosoft:mainfrom
cheenamalhotra:fixVulnerabilities
Nov 16, 2021
Merged

Update versions to fix vulnerabilities#1689
cheenamalhotra merged 2 commits intomicrosoft:mainfrom
cheenamalhotra:fixVulnerabilities

Conversation

@cheenamalhotra
Copy link
Copy Markdown
Member

Fixing Component Alerts

@cheenamalhotra cheenamalhotra merged commit 4e8d787 into microsoft:main Nov 16, 2021
dswitzer added a commit to dswitzer/mssql-jdbc that referenced this pull request Nov 17, 2021
@lilgreenbird lilgreenbird added this to the 10.1.0 Preview milestone Nov 26, 2021
lilgreenbird added a commit that referenced this pull request Dec 21, 2022
…ion to datetime or datetime2 (#1687)

* Added support for dateTimeType connection string

* Added support for the dateTimeType connection string, which allows you to define how date/time values are parameterized in SQL Server. By default, for SQL Server 2008+ the "datetime2" datatype is used, where as older versions of SQL Server always use the "datetime". This allows users migrating older database application that exclusively use "datetime" datatypes to run in SQL Server compatibility modes newer than 2014.
* Added unit test coverage for changes

* Renamed dateTimeType to datetimeParameterType

* Revert "Merge branch 'dev'"

This reverts commit 416dd5e, reversing
changes made to 4e8d787.

* Resolved merge conflicts

* Revert "Update versions to fix vulnerabilities (#1689)"

This reverts commit 4e8d787.

* Fixed broken merge and re-added datetimeParameterType feature

The merge was corrupted and blew out most of the datetimeParameterType feature changes, so I've re-applied the changes manually.

* Create Parameter.java

superficial change just to trigger pipeline run

* Delete SQLServerConnection.java.orig

this file should not be here

* Apply suggestions from code review

Co-authored-by: David Engel <[email protected]>

* Update src/main/java/com/microsoft/sqlserver/jdbc/Parameter.java

Co-authored-by: David Engel <[email protected]>

* Update src/main/java/com/microsoft/sqlserver/jdbc/Parameter.java

Co-authored-by: David Engel <[email protected]>

* Update src/main/java/com/microsoft/sqlserver/jdbc/SQLServerLexer.java

Co-authored-by: lilgreenbird <[email protected]>
Co-authored-by: David Engel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants