-1
I have a JAVA project developed with Spring Boot.
Database settings are in the default file Resources/application.properties.
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.datasource.driver-class-oracle.jdbc.driver.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@//172.********:1521/BDHML
spring.datasource.username=********
spring.datasource.password=********
The application will run through the command:
java -jar **CONFIGURAÇÃO** app-cosolidar.jar
I need to put the database settings in a file . properties external to the project.
How can I do that?
How should the file . properties?
I must change some file. java?
What configuration should I put in java -jar?
Thank you,
Diego