embedded apache derby on Windows connection URL
- From: supermail99@xxxxxxxxxxx
- Date: 15 Sep 2005 05:24:50 -0700
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?
.
- Follow-Ups:
- Re: embedded apache derby on Windows connection URL
- From: Dyreatnews
- Re: embedded apache derby on Windows connection URL
- Prev by Date: Re: url to connect an applet to mysql on a virtual hosting environment
- Next by Date: apache derby clob example
- Previous by thread: JSP: How to get the Recordcount of <sql:query ?
- Next by thread: Re: embedded apache derby on Windows connection URL
- Index(es):
Relevant Pages
|
|