博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SQLite Java Wrapper/JDBC Driver(收集)
阅读量:7126 次
发布时间:2019-06-28

本文共 1933 字,大约阅读时间需要 6 分钟。

. It is designed using JNI to interface to the SQLite API. That API is wrapped by methods in the class. Since June, 2002, it includes a small , which allows the most basic things to be carried out using the java.sql package. Since September, 2004, SQLite3 (minimum 3.0.7) is supported. The JNI part can be generated to include support for both SQLite 2.x and 3.x and detects at runtime the type of the database.

The current source tarball can be downloaded from . It has been tested on Linux, using SQLite 2.8.17 and 3.7.9, and JDK 1.4/1.5/1.6 from . The change log starting from August 2007 is .

For rebuilding the following requirements must be met:

  • SQLite 2.4.12 or higher
  • JDK 1.1 or higher
  • C compiler and make

To override the directory where configure looks for SQLite and JDK the configure options --with-sqlite=DIR, --with-sqlite3=DIR, and --with-jdk=DIR can be used. To specify the place where the native library (the libsqlite_jni.so file) shall be installed, use the --prefix=DIR option. The default place is /usr/local/lib, i.e. the prefix defaults to /usr/local. To specify where the sqlite.jar file containing the high-level part and the JDBC driver shall be installed, use the --with-jardir=DIR option. The default is /usr/local/share/java. At runtime, it is necessary to tell the JVM both places with the -classpath and -Djava.library.path=.. command line options. Optionally, the native part is searched using the path prefix specified in the -DSQLite.library.path=.. property, which has precedence over -Djava.library.path=...

For Win32 (NT4 or above) the makefiles javasqlite.mak, javasqlite23.mak, and javasqlite3.mak are provided in the source archive. These makefiles contain some build instructions and use the J2SE 1.4.2 from Sun and MS Visual C++ 6.0.

A DLL with the native JNI part (including SQLite 3.7.7.1) and the JAR file with the Java part can be downloaded from .

转载:

http://www.ch-werner.de/javasqlite/
你可能感兴趣的文章
在centos上安装svn server
查看>>
KNN算法的Python实现
查看>>
实用的正则表达式的总结
查看>>
Windows Server2012 配置打印服务器图文教程
查看>>
CentOS 6.5下Samba服务器的安装与配置
查看>>
网站安全测试工具GoLismero
查看>>
数据包编辑工具bittwiste
查看>>
IIS日志代码分析,常见的200,404,301,302分别代表什么意思
查看>>
Windows Server 2019 -正式发布
查看>>
我的友情链接
查看>>
我的友情链接
查看>>
history用法详解
查看>>
win7 下java开发环境搭建
查看>>
更新yum源时出现的问题
查看>>
嵌入式C语言面试题
查看>>
【Powershell】【DNS】通过Powershell远程注册静态DNS
查看>>
IOSTAT命令
查看>>
【长文+图片】HP FC MSA2000服务器瘫痪数据恢复过程
查看>>
C到C++ 快速过度 B 函数重载
查看>>
每个程序员都会的 35 个 jQuery 小技巧
查看>>