Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. # "root" as username and password.
  2. spring.datasource.url = jdbc:mysql://localhost:3306/gehive?useUnicode=yes&characterEncoding=utf8
  3. spring.datasource.username = gehive
  4. spring.datasource.password = pass
  5.  
  6. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  7.  
  8. # Keep the connection alive if idle for a long time (needed in production)
  9. spring.datasource.testWhileIdle = true
  10. spring.datasource.validationQuery = SELECT 1
  11.  
  12. # Show or not log for each sql query
  13. spring.jpa.show-sql = true
  14.  
  15. # Hibernate ddl auto (create, create-drop, update)
  16. spring.jpa.hibernate.ddl-auto = update
  17.  
  18. # Naming strategy
  19. spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
  20.  
  21.  
  22. # Use spring.jpa.properties.* for Hibernate native properties (the prefix is
  23. # stripped before adding them to the entity manager)
  24.  
  25. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  26. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  27.  
  28. +---------------+--------------------+
  29. | TABLE_NAME | character_set_name |
  30. +---------------+--------------------+
  31. | customer | utf8 |
  32. | projects | utf8 |
  33. | projects_data | utf8 |
  34. +---------------+--------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement