Skip to content

Conversation

@MouhsinElmajdouby
Copy link
Member

Fixes: #195

When a required Azure App Configuration parameter is missing or the URL is invalid, the driver previously threw unclear runtime exceptions. This update now detects missing or malformed parameters early and throws a concise SQLException indicating the bad configuration. A new unit test verifies that an empty or invalid URL fails fast with the expected SQLException.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 18, 2025
Copy link
Member

@fmeheust fmeheust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are sure that there isn't an exception other than UncheckedIOException and AzureException that needs to be caught, the PR looks ok to me.

@jeandelavarene jeandelavarene merged commit ef3d859 into main Jul 2, 2025
2 checks passed
@jeandelavarene jeandelavarene deleted the bugfix/azure-appconfig-invalid-param-exception- branch July 2, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

THE EXCEPTION MESSAGE OF OJDBC-PROVIDER-AZURE IS NOT USEFUL INCASE OF INVALID OR MISSING PARAMETER

3 participants