htf
htf

Reputation: 1543

What is the simplest Java ORM supporting Sqlite?

What is the ORM that can bound to a Java application in the least possible time, given its performance is not important?

Upvotes: 20

Views: 20478

Answers (5)

Gray
Gray

Reputation: 116918

This is self-marketing but my ORMLite package has native support for Sqlite – as well as MySQL, Postgres, Microsoft SQL Server, H2, Derby, and HSQLDB. It uses annotations to configure the persisted classes and is simple to get up to speed.

Here is the online docs on how to get started with the package:

I have experience with the org.xerial.sqlite-jdbc JDBC driver which seems to work very well.

Upvotes: 21

Jeff Miller
Jeff Miller

Reputation: 1444

Sormula works with any relational database since it creates standard SQL. Sqlite test configuration and jdbc driver are included in the test suites.

Upvotes: 2

ipolevoy
ipolevoy

Reputation: 5518

ActiveJDBC supports a number of databases, including SQLite3: http://javalite.io/activejdbc#supported-databases

Upvotes: 0

Lukas Eder
Lukas Eder

Reputation: 221175

SQLite is fully supported by jOOQ.

Upvotes: 3

Timo Westkämper
Timo Westkämper

Reputation: 22200

Here is a demo project for Hibernate SQLite integration. EclipseLInk JPA should also work. EclipseLink is lighter than Hibernate, but Hibernate is better documented and more mature.

Upvotes: 1

Related Questions