JDBC Driver for SQLite 006 reviewDownload
JDBC Driver for SQLite is a thin layer on top of the SQLite 3.3.x C API
JDBC Driver for SQLite is a thin layer on top of the SQLite 3.3.x C API. The native JNI library has SQLite compiled into it so all you need to do is include the two files packaged above in your project.
Download the binary for the platform you are developing on. Open the tarball and copy the two files into your application directory:
[lib]sqlitejdbc.[dll, so, jnilib]
Reference the driver in your code:
Connection conn = DriverManager.getConnection("jdbc:sqlite:filename");
// ... use the database ...
And call your program with the driver's JAR file in the classpath and the C library in the librarypath. E.g.
java -cp lib/yourprog.jar:lib/sqlitejdbc.jar
What's New in This Release:
The driver is now thread-safe and fully supports UTF-16.
There are binaries for Mac OS, Linux, and Windows, and instructions for compiling with MSVC.
JDBC Driver for SQLite 006 search tags