Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # [prod] db config
- spring.datasource.url=jdbc:mysql://localhost/eapmo?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
- spring.datasource.username=root
- spring.datasource.password=vmware
- spring.datasource.driver-class-name=com.mysql.jdbc.Driver
- # [prod] resource optimization
- wro4j.filterUrl=/wro
- wro4j.debug=true
- # [dev] disable template cache for auto-reload
- spring.thymeleaf.cache: false
- spring.jpa.hibernate.ddl-auto=update
- # explicitly invalidates the cache each 2 seconds
- wro.cacheUpdatePeriod=2
- # check for changes eah 2 seconds and invalidates the cache only when a change is detected
- wro.resourceWatcherUpdatePeriod=2
- spring.datasource.data=classpath:/sql/eapmo.sql
- #The value determined whether to use the spring.datasource.data to fill in the database.
- #If the value is set to true the spring.jpa.hibernate.ddl-auto must be set to create-drop to avoud primary keys doubling
- spring.datasource.initialize=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement