15 lines
577 B
Properties
15 lines
577 B
Properties
## DataSource configuration
|
|
spring.datasource.url=jdbc:h2:file:~/data/test;DB_CLOSE_ON_EXIT=FALSE
|
|
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
|
|
spring.jpa.hibernate.ddl-auto=create-drop
|
|
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
|
spring.jpa.show-sql=true |