Guest User

Untitled

a guest
Dec 10th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. ## Server
  2. server.port=8082
  3. server.servlet.context-path=/springRestSecurity
  4.  
  5. ## Logging
  6. # Show sql statement
  7. logging.level.org.hibernate.SQL=debug
  8.  
  9. # Show sql values
  10. logging.level.org.hibernate.type.descriptor.sql=trace
  11.  
  12. ## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  13. spring.datasource.url = jdbc:mysql://0.0.0.0:3306/ESTOQUE?useTimezone=true&serverTimezone=UTC
  14. spring.datasource.username = root
  15. spring.datasource.password = adm1n
  16.  
  17. ## Hibernate Properties
  18. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  19. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
  20.  
  21. # Hibernate ddl auto (create, create-drop, validate, update)
  22. spring.jpa.hibernate.ddl-auto = validate
  23.  
  24. # fix uppercase naming identified
  25. spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Add Comment
Please, Sign In to add comment