本文共 466 字,大约阅读时间需要 1 分钟。
com.h2database h2 runtime
spring.datasource.url=jdbc:h2:~/test;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSEspring.datasource.username=saspring.datasource.password=
注:
spring.datasource.url=jdbc:h2:file:D:/roncoo_h2/roncoo_spring_boot;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE内存模式:spring.datasource.url=jdbc:h2:mem:test
转载地址:http://fxonn.baihongyu.com/