Home > Software engineering >  how to look at default configuration used for connecting to DB
how to look at default configuration used for connecting to DB

Time:09-20

Since SpringBoot is opinionated, it connects to my Oracle DB using configuration that I didn't have to do. Now, I want to see these config values, how can I do that?

I tried the "env" and "info" actuator endpoints, but they didn't have any information on this

TIA

CodePudding user response:

In your app if you already exposed all actuator endpoints or specific configprops endpoint, you can use "configprops".

<host>/actuator/configprops

CodePudding user response:

Other than the jdbc connection url is there any configuration you specificly wanted to see? perhaps you can try to look at the logging information but it will show a lot more than just configuration values, but if you try to find list of configuration that Spring Boot set here is the reference link

  • Related