Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gwenn/sqlite-jna
Java wrapper and Jdbc driver for SQLite using JNA or Bridj or JNR or JNI or JavaCPP.
https://github.com/gwenn/sqlite-jna
jdbc jdbc-driver sqlite sqlite-driver
Last synced: 19 days ago
JSON representation
Java wrapper and Jdbc driver for SQLite using JNA or Bridj or JNR or JNI or JavaCPP.
- Host: GitHub
- URL: https://github.com/gwenn/sqlite-jna
- Owner: gwenn
- License: unlicense
- Created: 2012-02-12T20:20:17.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T05:05:53.000Z (24 days ago)
- Last Synced: 2024-10-23T07:24:15.978Z (23 days ago)
- Topics: jdbc, jdbc-driver, sqlite, sqlite-driver
- Language: Java
- Homepage:
- Size: 1.47 MB
- Stars: 25
- Watchers: 3
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://github.com/gwenn/sqlite-jna/workflows/CI/badge.svg)](https://github.com/gwenn/sqlite-jna/actions)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.gwenn/sqlite-jna.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.gwenn%22%20AND%20a:%22sqlite-jna%22)
[![Javadocs](https://www.javadoc.io/badge/com.github.gwenn/sqlite-jna.svg)](https://www.javadoc.io/doc/com.github.gwenn/sqlite-jna)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):
```sh
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. BenchmarkLINKS
-----
* https://github.com/sqlite/sqlite/tree/master/ext/jni (JNI, no JDBC)
* https://github.com/xerial/sqlite-jdbc (~~https://bitbucket.org/xerial/sqlite-jdbc~~) (JNI)
* http://www.ch-werner.de/javasqlite/ (https://www.sqlite.org/java/) (JNI)
* https://code.google.com/p/sqlite4java/ (JNI, no JDBC)
* https://github.com/lyubo/jdbc-lite (JNA)
* https://code.google.com/p/nativelibs4java/issues/detail?id=47 (Bridj)
* https://github.com/tstack/SqliteJdbcNG (Bridj)
* https://github.com/twall/jna
* https://github.com/bytedeco/javacpp
* https://github.com/jnr/jnr-ffiLICENSE
-------
Public domain