sqlite-jdbc-3.6.13 release

Showing 1-1 of 1 messages
sqlite-jdbc-3.6.13 release Taro L. Saito 4/27/09 9:08 PM
Hi all,

I have implemented a feature to load DB files inside a jar file, which
is discussed in the following thread:

sqlite-jdbc 3.6.13 is available from here:


To load db files that can be found from the class loader (e.g., db
files inside a jar file in the classpath),
use "jdbc:sqlite::resource:" prefix.

For example, here is an example to access an SQLite DB file, sample.db
in a Java package org.yourdomain:

      Connection conn = DriverManager.getConnection

In addition, external DB resources can be used as follows:

        Connection conn = DriverManager

To access db files inside some specific jar file (in local or remote),
use the JAR URL: http://java.sun.com/j2se/1.5.0/docs/api/java/net/JarURLConnection.html

        Connection conn = DriverManager

DB files will be extracted to a temporary folder (System.getProperty
Time stamps of DB files will be checked inside the sqlite-jdbc upon
establishing the connection, and sqlite-jdbc overwrites the extracted
files in the temporary folder if the DB files are updated.

[minor changes]
 Fixed: out of memory error was wrongly reported when the DB file is