Subject | Re: [Firebird-Java] Database URL and database alias |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-11-21T01:07:59Z |
> If I understand your reference to firebird.conf, then I should modify/RootDirectory should not be messed with, better leave it as it is.
> make entries for RootDirectory and also DatabaseAccess?
Yes, I meant DatabaseAccess. You can set it to:
DatabaseAccess = Restrict
/Library/Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/
> ============================================employee.fdb =
>
> This is what works in DriverExample.java;
>
> String databaseURL = "jdbc:firebirdsql:localhost/3050:/Library/
> Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/
> employee.fdb";
> ============================================
>
> This is the content of aliases.conf, not the @prefix@; I do not know
> what this is, or should I simply replace it with $FIREBIRD_HOME?
>
> # ------------------------------
> # List of known database aliases
> # ------------------------------
>
> #
> # Example Database:
> #
> employee.fdb = @prefix@/examples/empbuild/employee.fdb
> employee = @prefix@/examples/empbuild/employee.fdb
/Library/Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/employee.fdb
Use the full path in aliases.conf.
Roman