Light weight alternative to Hibernate?

Jared picture Jared · Nov 17, 2008 · Viewed 89.2k times · Source

I have a single user java program that I would like to have store data in a light weight database such as Derby or Sqlite. I would like to use a data abstraction layer in my program. Hibernate appears to require a lot of configuration and is overkill for what I need. What are light weight alternatives to Hibernate?

Answer

Vladimir Dyuzhev picture Vladimir Dyuzhev · Nov 17, 2008

Hibernate requires next to zero configuration if you use annotations. It even can auto-discover mapped beans in the classpath! I don't see any alternative to it from both simplicity and power point of view.

It can also expose itself as JPA, which is (IMHO) even simpler.