db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: embedded apache derby on Windows connection URL
Date Fri, 16 Sep 2005 16:04:47 GMT
Rajesh Kartha wrote:

> Here is one example  to connect to a Derby database in Windows:
> 
> Connection conn=DriverManager.getConnection("jdbc:derby:c:\\temp\\my new
> dir\\a temp\\b temp\\spdb");
> (The above  also shows directories with spaces)


Any forward slashes in the database name portion of the JDBC URL will be
converted to the correct file separator for the platform. Thus for
consistency forward slashes are preferred.

Dan.



Mime
View raw message