您的位置:首页 > 编程语言 > Java开发

spring boot 使用h2数据库配置(内存模式)

2015-10-28 23:10 791 查看

spring boot 使用h2数据库配置(内存模式)

spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:dbtest
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
spring.jpa.show-sql=true
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息