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.


Reply via email to