Donate to support Ukraine's independence.

21 Feb'11

SQLite in Java

Small and portable databases are great in sense of reliability, portability and ease of use once created.

As many people use java, I’ve tried to investigate how easy is to create a simple java&sqlite application. After the stackOverflow)) it took just few minutes:

1. http://www.zentus.com/sqlitejdbc/ this jdbc driver has the sqlite embedded for any platform already - great choice for everyone except enterprise.

  1. Source is here - with some addions:
import java.sql.*;
public class Main {

/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
Class.forName("org.sqlite.JDBC");
Connection conn =
DriverManager …

Continue reading

Category: