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

Implement a Useful main Method #14

Open Michael-A-McMahon opened 1 year ago

Michael-A-McMahon commented 1 year ago

Provider jars should have a main method which does something useful.

Right now, the jars just do this:

java -jar ojdbc-provider-azure-0.1.0-SNAPSHOT.jar
no main manifest attribute, in ojdbc-provider-azure-0.1.0-SNAPSHOT.jar

That's not very useful.

A main method that prints the names of providers would be useful, as the Oracle JDBC Driver must be configured with these names. We might think of other useful things to print, and include those as well.