Skip to content

Fixed exception type to SQLFeatureNotSupported#2583

Merged
Ananya2 merged 4 commits intomainfrom
dev/machavan/issue2580
Apr 25, 2025
Merged

Fixed exception type to SQLFeatureNotSupported#2583
Ananya2 merged 4 commits intomainfrom
dev/machavan/issue2580

Conversation

@machavan
Copy link
Copy Markdown
Contributor

@machavan machavan commented Jan 13, 2025

Addresses #2580

Fixed exception type to SQLfeatureNotSupported as per the the java.sql.Connection API doc: https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#releaseSavepoint-java.sql.Savepoint-

Testing:

  • Build and unit tests pass
  • Added new unit test for testing this exception

@machavan machavan changed the title Fixed exception type to SQLfeatureNotSupported Fixed exception type to SQLFeatureNotSupported Jan 13, 2025
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/TestResource.java Outdated
Comment thread src/test/java/com/microsoft/sqlserver/jdbc/unit/SavepointTest.java
@lilgreenbird
Copy link
Copy Markdown
Contributor

/azp run public-mssql-jdbc.windows

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@machavan
Copy link
Copy Markdown
Contributor Author

/azp run public-mssql-jdbc.linux

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@machavan
Copy link
Copy Markdown
Contributor Author

/azp run CI-MacOS

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.57%. Comparing base (351c2be) to head (e719236).
Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2583      +/-   ##
============================================
- Coverage     51.67%   51.57%   -0.10%     
+ Complexity     4011     3997      -14     
============================================
  Files           147      147              
  Lines         33759    33760       +1     
  Branches       5640     5640              
============================================
- Hits          17445    17412      -33     
- Misses        13861    13891      +30     
- Partials       2453     2457       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

David-Engel
David-Engel previously approved these changes Jan 23, 2025
@Ananya2
Copy link
Copy Markdown
Contributor

Ananya2 commented Apr 24, 2025

@Ananya2 Ananya2 merged commit f26f90c into main Apr 25, 2025
18 of 19 checks passed
@github-project-automation github-project-automation Bot moved this from Under Peer Review to Closed/Merged PRs in MSSQL JDBC Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed/Merged PRs

Development

Successfully merging this pull request may close these issues.

Non standard exception type is thrown when attempting to use an unsupported feature

6 participants