-
Notifications
You must be signed in to change notification settings - Fork 753
build(deps): EXPOSED-919 Bump test SQL Server to 2025 (17.x) #2677
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
Conversation
- Also switch docker image to no longer use Azure SQL Edge
| container_name: SQLServer | ||
| restart: always | ||
| image: mcr.microsoft.com/azure-sql-edge:2.0.0 | ||
| image: mcr.microsoft.com/mssql/server:2025-RC1-ubuntu-24.04 |
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 wasn't planning to change this, but then I was looking into the underlying database & came across this announcement.
@obabichevjb Please checkout & try this new image locally to make sure it works well for you too.
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.
Checked, it works for me locally. All the tests passed for SQL Server on the new image.
| SQLSERVER( | ||
| { | ||
| "jdbc:sqlserver://127.0.0.1:3005" | ||
| "jdbc:sqlserver://127.0.0.1:3005;encrypt=false;" |
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.
Prior to mssql-jdbc version 10.x, this value was set to false by default. After version 10.x, it became true.
If left true, it would cause all tests to fail. Since we weren't encrypting before, I didn't see any reason to start now?
| if (dbProductName.startsWith("Microsoft Azure SQL ")) { | ||
| if ( | ||
| dbProductName.startsWith("Microsoft Azure SQL ") || | ||
| dbProductName.startsWith("Microsoft SQL Server ") | ||
| ) { |
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.
Full fix in PR #2676
Description
Summary of the change:
mssql-jdbcto 13.2.1.jre11.Detailed description:
Why:
mssql-jdbcis long overdue.How: The driver version bump required setting a previously default value explicitly -->
encrypt=false;Type of Change
Please mark the relevant options with an "X":
Affected databases:
Checklist
Related Issues
EXPOSED-919