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

Remove workaround for issue#69 #74

Closed norah-li closed 5 months ago

norah-li commented 6 months ago

After upgrading to newer OCI Java SDK version 3.37.0, remove the workaround for issue#69, i.e. changes in PR#72.

Also make sure that every client is built with try-with-resource block or calls close().

"Once you update to the newer version, you can close the thread by calling close() or create the client in a try-with-resources block so it calls closes automatically when done.. For example: try (client = new Client) { ... } or client.close() Note: The system property works on all the affected versions and the newer Java SDK versions."