Skip to content
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

Update versions to fix vulnerabilities #1689

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

cheenamalhotra
Copy link
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 <dengel1012@gmail.com>

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

Co-authored-by: David Engel <dengel1012@gmail.com>

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

Co-authored-by: David Engel <dengel1012@gmail.com>

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

Co-authored-by: lilgreenbird <v-susanh@microsoft.com>
Co-authored-by: David Engel <dengel1012@gmail.com>
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