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();
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.
Any idea?
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---