--- neographikal <[EMAIL PROTECTED]> wrote:
>
> I have been using the pure java driver v033 which worked well, except
> for the absolute paths. Because this should be fixed in the newer
> versions, I tried to switch to v036 pure java. But it won't do
> anything: when I'm using the same code, the program just doesn't
> finish the function and stops at the connection creation:
>
> Class.forName("org.sqlite.JDBC");
> statuspane.setText(statuspane.getText() + "Opening database...\r");
> Connection conn =
> DriverManager.getConnection("jdbc:sqlite:"+databaselocation.getText());
> Statement stmt = conn.createStatement();
So it hangs on the statement above?
What's the string in databaselocation.getText()?
Is the file local or on a network share?
> statuspane.setText(statuspane.getText() + "Executing query...\r");
> ResultSet rs = stmt.executeQuery("SELECT xmp, id_local FROM
> Adobe_AdditionalMetadata");
>
> It doesn't throw an exception, neither with an absolute or relative
> path. I'm using Netbeans 5.5.1, JDK 1.6.02 (javac.source=1.5 and
> javac.target=1.5 in the project.properties to run it on Mac OSX). The
> code above works perfect with the v033 driver, except for the absolute
> paths.
Can you get a stack trace somehow?
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---