我使用下面的代碼從Java無法讀取使用Java源碼JDBC
String connection = "jdbc:sqlite:/" + Tracking.FILES_LOCATION + "places.sqlite";
Connection conn1 = DriverManager.getConnection("jdbc:sqlite:path_to_places.sqlite/");
Statement stat = conn1.createStatement();
ResultSet rs1 = stat.executeQuery("select * from moz_bookmarks;");
連接,並讀取moz_bookmarks從Firefox表,但我不斷收到:"java.sql.SQLException: file is encrypted or is not a database"
即使升級我的JDBC驅動程序源碼後爲sqlite3 任何幫助,非常感謝 謝謝!