介绍
SQLite是非常小的一个嵌入式数据库,如果使用Java的JDBC来访问的话,只需要把sqlite-jdbc加入到classpath中即可,无需安装。 下载地址 http://www.sqlite.org/download.html
常用命令
.read demo.sql
select name from sqlite_master where type = 'table';
Maven依赖
[codesyntax lang="xml"]
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.16.1</version>
</dependency>
[/codesyntax]
查看原文:http://surenpi.com/2017/02/15/sqlite/