2016-11-15 11:13:55 +09:00
|
|
|
## DataSource configuration
|
2016-11-16 14:35:31 +09:00
|
|
|
spring.datasource.url=jdbc:h2:file:~/data/test;DB_CLOSE_ON_EXIT=FALSE
|
2016-11-15 11:13:55 +09:00
|
|
|
spring.datasource.username=sa
|
|
|
|
spring.datasource.password=qwe123
|
|
|
|
spring.datasource.driver-class-name=org.h2.Driver
|
|
|
|
|
|
|
|
#spring.datasource.url=jdbc:mysql://192.168.1.215:3306/test_db?charset=utf8&parseTime=True&loc=Local
|
|
|
|
#spring.datasource.username=root
|
|
|
|
#spring.datasource.password=qwe123
|
|
|
|
|
|
|
|
## Hibernate configuration
|
|
|
|
spring.jpa.database=h2
|
2016-11-15 16:00:53 +09:00
|
|
|
spring.jpa.hibernate.ddl-auto=create-drop
|
2016-11-15 11:13:55 +09:00
|
|
|
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
|
|
|
spring.jpa.show-sql=true
|