Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. # [prod] db config
  2. spring.datasource.url=jdbc:mysql://localhost/eapmo?useSSL=false&useUnicode=yes&characterEncoding=UTF-8
  3. spring.datasource.username=root
  4. spring.datasource.password=vmware
  5. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  6. # [prod] resource optimization
  7. wro4j.filterUrl=/wro
  8. wro4j.debug=true
  9.  
  10. # [dev] disable template cache for auto-reload
  11. spring.thymeleaf.cache: false
  12. spring.jpa.hibernate.ddl-auto=update
  13. # explicitly invalidates the cache each 2 seconds
  14. wro.cacheUpdatePeriod=2
  15. # check for changes eah 2 seconds and invalidates the cache only when a change is detected
  16. wro.resourceWatcherUpdatePeriod=2
  17.  
  18. spring.datasource.data=classpath:/sql/eapmo.sql
  19.  
  20. #The value determined whether to use the spring.datasource.data to fill in the database.
  21. #If the value is set to true the spring.jpa.hibernate.ddl-auto must be set to create-drop to avoud primary keys doubling
  22. spring.datasource.initialize=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement