简体   繁体   中英

JavaDB ( derby ) path to database?

Using the embedded driver I can connect to my derby database using the JDBC url:

jdbc:derby:mydbname

But, I usually put the full path for the db like:

jdbc:derby:/Users/oreyes/dbs/mydbname

Is there a way I can just specify the db name and have something like a "db_path" or something like that?

我不是德比专家,设置开发人员指南中描述的derby.system.home似乎按照您的预期工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM