Good day. There is an application on Spring boot and in it a .properties file:
# Database spring.datasource.driverClassName= com.mysql.jdbc.Driver spring.datasource.url= jdbc:mysql://localhost:3306/dbname spring.datasource.username: root spring.datasource.password: root # Hibernate spring.jpa.show-sql= true spring.jpa.hibernate.ddl-auto = create In the application you need to use data storage either in the database or in a .CSV file. Changes to .properties take effect only after restarting the JVM.
Question: how to specify in. Properties that the data should be stored either in the database or in a file?
Thank.
my.superpuper.attribute = valueand in the code process as you like! - JVic