Guest User

Untitled

a guest
Oct 11th, 2018
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. spring.datasource.url=jdbc:mysql://host:3306/dbname?autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
  2. spring.datasource.username=username
  3. spring.datasource.password=password
  4.  
  5. spring.jpa.show-sql=true
  6. spring.jpa.properties.hibernate.format_sql=true
  7.  
  8. spring.jpa.generate-ddl=true
  9. spring.jpa.hibernate.ddl-auto=none
  10. spring.jpa.database=mysql
  11. spring.jpa.properties.hibernate.hbm2ddl.auto=none
  12.  
  13. # setting time zone
  14. spring.jpa.properties.hibernate.jdbc.time_zone=UTC
  15.  
  16.  
  17. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  18.  
  19. ## This is cool, it will output the parameters
  20. logging.level.org.hibernate.type.descriptor.sql=trace
Add Comment
Please, Sign In to add comment