Skip to content

Java wrapper and Jdbc driver for SQLite using JNA or Bridj or JNR or JNI or JavaCPP.

License

Notifications You must be signed in to change notification settings

gwenn/sqlite-jna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JDBC driver for SQLite using JNA instead of JNI to make it easy to deploy (if you already have SQLite installed). There are two layers:

  • a small one matching the SQLite API (package org.sqlite)
  • a bloated one matching the JDBC API (package org.sqlite.driver)

Build Status Maven Central Javadocs

INSTALL

  1. https://github.com/twall/jna/blob/master/www/GettingStarted.md
  2. http://www.sqlite.org/download.html
  3. Ensure JVM and SQLite match (x86 vs x86-64)

On Windows, to build your own x86-64 version (with cygwin&mingw):

x86_64-w64-mingw32-gcc.exe -Wl,--kill-at -O -shared -o sqlite3.dll -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_STAT3 -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_FOREIGN_KEYS=1 sqlite3.c
+ Stripping...

TODO

  1. Fix as many unimplemented methods as possible.
  2. Benchmark

LINKS

LICENSE

Public domain

About

Java wrapper and Jdbc driver for SQLite using JNA or Bridj or JNR or JNI or JavaCPP.

Topics

Resources

License

Stars

Watchers

Forks

Languages