我有一个带有 Spring Boot 的应用程序,我想在该路径 C:\Users\user7\AppData\Roaming 中连接到 sqlite 数据库。我必须在 app.properties 上写什么来指示环境变量 APPDATA 路径?这是我的 app.properties
spring.datasource.url = jdbc:sqlite:sqlitesample.db
如何使用 APPDATA 变量?问候
我有一个带有 Spring Boot 的应用程序,我想在该路径 C:\Users\user7\AppData\Roaming 中连接到 sqlite 数据库。我必须在 app.properties 上写什么来指示环境变量 APPDATA 路径?这是我的 app.properties
spring.datasource.url = jdbc:sqlite:sqlitesample.db
如何使用 APPDATA 变量?问候