db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susan Cline <home4...@pacbell.net>
Subject Re: Specifying the Derby Database Location
Date Fri, 10 Feb 2006 00:01:42 GMT
--- Daniel John Debrunner <djd@apache.org> wrote:

> > Afkham Azeez wrote:
> > 
> >> Hi Folks,
> >>
> >> I have my derby.properties file in $MY_PROJECT/conf directory. This is
> >> the directory pointed to by the derby.system.home System property. But
> >> no my database is getting created under $MY_PROJECT/conf e.g. as
> >> $MY_PROJECT/conf/DATABASE.
> >>
> >> I need my database to be created as $MY_PROJECT/DATABASE. Is there a
> >> property I can specify in the derby.properties file which will specify
> >> the physical location of the Database?
> 
> This is a good candidate for a Derby FAQ.
> 
> Database names in Derby are more than a single word, they are URL like
> in that they can include the URL path separator character forward slash '/'.
> 

I created a wiki entry today with the information you posted about relative and absolute paths
in
a JDBC connection URL:

http://wiki.apache.org/db-derby/DatabaseNamesRelativeAbsolute

Susan

Mime
View raw message