Subject | Re: Can I specify a relative path to the DB in the JDBC-URL? |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-06-09T21:44:11Z |
Hi,
It is hard to predict how relative path will be resolved. At least
under windows on my laptop "localhost/3050:fbtest.gdb" is resolved to
"C:/fbtest.gdb". Under Linux "localhost/3050:~/fbtest.gdb" is resolved
to home directory of user under which database server is started (in
my case - root).
Consider using Firebird 1.5 aliases (however I did not test them with
JayBird, should work).
Best regards,
Roman Rokytskyy
> Is it possible to specify a relative path to the DB in the JDBC-URL?Most likely yes, but it makes a little sense in case of remote server.
It is hard to predict how relative path will be resolved. At least
under windows on my laptop "localhost/3050:fbtest.gdb" is resolved to
"C:/fbtest.gdb". Under Linux "localhost/3050:~/fbtest.gdb" is resolved
to home directory of user under which database server is started (in
my case - root).
Consider using Firebird 1.5 aliases (however I did not test them with
JayBird, should work).
Best regards,
Roman Rokytskyy