--- neographikal <[EMAIL PROTECTED]> wrote:
> Actually, it hangs on
> 
> Connection conn =
> DriverManager.getConnection("jdbc:sqlite:"+databaselocation.getText());
> 
> In the databaselocation field there is the name of the file of the
> database. It doesn't work with either a relative or an absolute path,
> while the relative path (just the filename) does work on V0.33

Try using this line instead:

  Connection conn = DriverManager.getConnection("jdbc:sqlite:foo.db");

Also make sure you're opening a database on a local non-network drive and
the directory you're running the program from is writable.


       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to