Subject Re: [Firebird-Java] Database URL and database alias
Author Mr. Richard Tomkins
I thank you for your attentive answers.
Best regards, Richard Tomkins


On 20-Nov-08, at 8:07 PM, Roman Rokytskyy wrote:

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



[Non-text portions of this message have been removed]