oracle / ojdbc-extensions

The Oracle JDBC Driver Extensions include providers for centralized configuration or token providers for authentication with the DB.
Universal Permissive License v1.0
13 stars 5 forks source link

Configuration providers with caches should be able to recognized by the driver #21

Closed ting-lan-wang closed 5 months ago

ting-lan-wang commented 1 year ago

When an ORA-1017 error is thrown, the driver catches the exception and purge the cache entry by calling removeProperties method. The driver needs to know the object is an instance of the configuration provider with cache before calling the method.

The enhancement request is to make the providers with caches implement the same interface so that they can be tell from the other "non properties-caching" providers.