Advertisement
Guest User

Untitled

a guest
Apr 5th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Hibernate Configuration
  2.  
  3. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDialect
  4. spring.jpa.generate-ddl                 = true
  5. spring.jpa.hibernate.ddl-auto           = update
  6.  
  7. # Data Source Configuration
  8.  
  9. spring.datasource.driver-class-name = com.mysql.jdbc.Driver
  10. spring.datasource.username          = market_app
  11. spring.datasource.password          = 123456
  12. spring.datasource.url               = jdbc:mysql://127.0.0.1:3306/marketplace_dev?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
  13.  
  14. # Session Configuration
  15.  
  16. server.servlet.session.timeout = 1m
  17.  
  18. spring.session.timeout.seconds        = 900
  19. spring.session.store-type             = jdbc
  20. spring.session.jdbc.initialize-schema = always
  21. spring.session.jdbc.schema            = classpath:org/springframework/session/jdbc/schema-@@platform@@.sql123
  22. spring.session.jdbc.table-name        = SPRING_SESSION
  23.  
  24. # Logging Configuration
  25.  
  26. logging.level.org.hibernate.SQL  = DEBUG
  27. logging.level.org.hibernate.type = TRACE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement