Guest User

Untitled

a guest
Jan 10th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. spring.datasource.url=jdbc:mysql://xyz:3306/xyz
  2. spring.datasource.username=xyz
  3. spring.datasource.password=xyz
  4.  
  5. spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  6. spring.jpa.properties.hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
  7.  
  8.  
  9. # Below properties don't change transactions behaviour
  10. spring.jpa.properties.hibernate.ddl-auto = create-drop
  11.  
  12. spring.jpa.properties.javax.persistence.query.timeout=30
  13. spring.datasource.tomcat.test-while-idle=true
  14. spring.datasource.tomcat.time-between-eviction-runs-millis=5000
  15. spring.datasource.tomcat.initial-size=1
  16. spring.datasource.tomcat.max-active=1
  17. spring.datasource.tomcat.max-idle=1
  18. spring.datasource.tomcat.max-wait=5000
  19. spring.datasource.tomcat.log-abandoned=true
Add Comment
Please, Sign In to add comment