Skip to content

Commit af77f84

Browse files
author
mayur.patel
committed
a
1 parent e16918c commit af77f84

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
spring.jpa.show-sql=true
2-
spring.jpa.hibernate.ddl-auto=none
1+
spring.datasource.tomcat.initial-size=15
2+
spring.datasource.tomcat.max-wait=20000
3+
spring.datasource.tomcat.max-active=50
4+
spring.datasource.tomcat.max-idle=15
5+
spring.datasource.tomcat.min-idle=8
6+
spring.datasource.tomcat.default-auto-commit=true
7+
spring.datasource.url=jdbc:h2:mem:test
8+
spring.datasource.username=root
9+
spring.datasource.password=
10+
spring.datasource.driver-class-name=org.h2.Driver
311

4-
5-
spring.datasource.url=jdbc:h2:tcp://localhost:9091/mem:mydb
6-
spring.datasource.driverClassName=org.h2.Driver
7-
spring.datasource.username=sa
8-
spring.datasource.password=
12+
spring.jpa.show-sql=false
13+
spring.jpa.hibernate.ddl-auto=update
14+
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
15+
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
16+
spring.jpa.properties.hibernate.id.new_generator_mappings=false

0 commit comments

Comments
 (0)