Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. # Primary datasource
  2. spring.datasource.url=jdbc:postgresql://192.168.2.223:5432/backoffice
  3. spring.datasource.username=backoffice
  4. spring.datasource.password=qwerty
  5. spring.datasource.driverClassName=org.postgresql.Driver
  6. spring.jpa.hibernate.naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy
  7. spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
  8. spring.jpa.show-sql=true
  9.  
  10. #JPA properties
  11. spring.jpa.properties.hibername.show-sql=true
  12. spring.jpa.properties.hibername.format-sql=true
  13. spring.jpa.properties.hibername.use_sql_comments=true
  14.  
  15. #cache
  16. spring.jpa.properties.javax.persistence.sharedCache.mode=ENABLE_SELECTIVE
  17. spring.jpa.properties.hibername.cache.use_secont_level_cache=true
  18. spring.jpa.properties.hibername.cache.use_query_cache=true
  19.  
  20. #statistics
  21. spring.jpa.properties.hibernate.generate_statistics=true
  22.  
  23. #batch processing
  24. spring.jpa.properties.hibernate.jdbc.batch_size=50
  25. spring.jpa.properties.hibernate.order_inserts=true
  26. spring.jpa.properties.hibernate.order_updates=true
  27. spring.jpa.properties.hibernate.jdbc.batch_versioned_data=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement