embedded apache derby on Windows connection URL



I'm having trouble creating a proper Java connection URL for an
embedded apache derby database on Windows. My database folder was
created with ij and is located at

C:\mytestdb

In my program the following line yeilds the error

SQL Exception: Database 'mytestdb' not found.

Connection
conn=DriverManager.getConnection("jdbc:derby:C:///mytestdb");

What is wrong with this URL?

or, if I use the connection string "jdbc:derby:mytestdb", what is the
search path?

.



Relevant Pages

  • Re: Please Help Me in Visual Basic 6.0 SP6
    ... i'm not meant to ask for a free service here..but i am searching for a ... how to make the connection string to the database as a ... >> will use it as the connection string to connect to the selected ... the contain of each database folder is ...
    (microsoft.public.vb.database)
  • Re: Where is my mdb file
    ... > There is a option to set up a database folder and copy an mdb file to it. ... > It does claim to support FrontPage extensions. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Please Help Me in Visual Basic 6.0 SP6
    ... user can select the database folder and then, the application will use it as ... "Michael Cole" wrote: ... > Bring up a form offering the user the choice of which database, ...
    (microsoft.public.vb.database)
  • Re: Any Ideas What Might Be Causing This?
    ... database in the database folder the problem occurs. ... have a .bmp file in the database folder called "OCCActionsReg.bmp" ... Bmp in folder where FE resides. ...
    (comp.databases.ms-access)
  • Re: switchboard as startup form
    ... to do was build an Access database that will allow them to schedule the ... totally ignorant of programming. ... Anyway this group has been alot of help. ... > If you also wish to hide the database folder, ...
    (microsoft.public.access.formscoding)