A JDBC driver for SQLite with native libraries bundled in one JAR
open sourceApache-2.0free
SQLite JDBC Driver (org.xerial:sqlite-jdbc) lets Java and other JVM code create and query SQLite database files through the standard JDBC API. It needs no setup: the JAR bundles natively compiled SQLite for Windows, macOS, Linux, FreeBSD and Android, extracting the right one when the driver loads, with official extensions such as FTS5, R*Tree and JSON compiled in. It supports GraalVM native-image out of the box, and releases follow each new SQLite version.
Problems it solves
- use a SQLite database from Java
- embed a local database in a JVM app without installing anything
- query SQLite through JDBC in a Kotlin or Scala program
Features
- standard JDBC access to SQLite databases
- native SQLite builds for Windows, macOS, Linux, FreeBSD and Android bundled in one JAR
- FTS5, R*Tree and JSON extensions compiled in
- GraalVM native-image support
- a release for every new SQLite version
Limitations
- Maintained but not actively developed: it follows SQLite releases and fixes bugs, and new features come from pull requests.1
Alternatives
The same job
These do what SQLite JDBC Driver does.
- PostgreSQL JDBC Driver The open source JDBC driver for PostgreSQL, in pure Java
- MongoDB Java Driver MongoDB's official drivers for Java, Kotlin and Scala
