Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spring.datasource.url=jdbc:mysql://xyz:3306/xyz
- spring.datasource.username=xyz
- spring.datasource.password=xyz
- spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
- spring.jpa.properties.hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
- # Below properties don't change transactions behaviour
- spring.jpa.properties.hibernate.ddl-auto = create-drop
- spring.jpa.properties.javax.persistence.query.timeout=30
- spring.datasource.tomcat.test-while-idle=true
- spring.datasource.tomcat.time-between-eviction-runs-millis=5000
- spring.datasource.tomcat.initial-size=1
- spring.datasource.tomcat.max-active=1
- spring.datasource.tomcat.max-idle=1
- spring.datasource.tomcat.max-wait=5000
- spring.datasource.tomcat.log-abandoned=true
Add Comment
Please, Sign In to add comment