Skip to content

Handled sp_prepexec call for Column encryption enabled #2662

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

Closed
wants to merge 1 commit into from

Conversation

divang
Copy link
Contributor

@divang divang commented May 13, 2025

Unexpected insert results/exception when inserting strings using Always encrypted with Secure Enclaves

Resolution details:
To resolve the encrypted column issue, the sp_prepexec stored procedure was invoked (via the buildPrepExecParams method) to update the parameter definition, specifically the length.

@divang divang added this to the 12.11.0 milestone May 13, 2025
Copy link

codecov bot commented May 13, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 51.67%. Comparing base (f0706ea) to head (52c91c3).

Files with missing lines Patch % Lines
...oft/sqlserver/jdbc/SQLServerPreparedStatement.java 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2662      +/-   ##
============================================
+ Coverage     51.62%   51.67%   +0.05%     
- Complexity     4008     4013       +5     
============================================
  Files           147      147              
  Lines         33800    33802       +2     
  Branches       5650     5650              
============================================
+ Hits          17448    17468      +20     
+ Misses        13888    13867      -21     
- Partials       2464     2467       +3     

☔ 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.

@divang divang closed this May 13, 2025
@divang divang deleted the user/divang/Encrypted_Column_Insert2 branch May 13, 2025 11:57
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.

1 participant