Subject Re: [Firebird-Java] Database URL and database alias
Author Roman Rokytskyy
> If I understand your reference to firebird.conf, then I should modify/
> make entries for RootDirectory and also DatabaseAccess?

RootDirectory should not be messed with, better leave it as it is.

Yes, I meant DatabaseAccess. You can set it to:

DatabaseAccess = Restrict
/Library/Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/


> ============================================
>
> 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

employee.fdb =
/Library/Frameworks/Firebird.framework/Versions/A/Resources/examples/empbuild/employee.fdb

Use the full path in aliases.conf.

Roman