开发者

JavaDB ( derby ) path to database?

开发者 https://www.devze.com 2023-01-06 17:32 出处:网络
Using the embedded driver I can connect to my derby database using the JDBC url: jdbc:derby:mydbname 开发者_如何转开发

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?


I'm not an expert with derby, setting derby.system.home as described in developers guide seems to work as you expect.

0

精彩评论

暂无评论...
验证码 换一张
取 消