Lightweight JDBC helper library alternative to Apache Commons DbUtils [closed]

I've just developed my own tiny little JDBC helper library, and I've already realized what a maintenance nightmare it will be.

I'm not looking for a full fledged ORM, like Hibernate, just something light and useful to quickly make JDBC calls passing SQL statements without messing with checked exceptions, closing resources manually, etc...

From your experiencie, can you recommend a nice JDBC helper library?

So far now, I've had a look at Apache Commons DbUtils which seems pretty good. Any other idea?


Here's a list of tools that "ease the pain" when interacting with simple JDBC:

  • Spring's JdbcTemplate
  • jOOQ (can be used with SQL strings as well - disclaimer: I work for the vendor)
  • Apache DbUtils (which you've mentioned yourself)
  • JDBI
  • sql2o
  • persism

There's also ORMLite and MyBatis which are pretty lightweight as well. Using spring and it's rowmappers is pretty easy, but does require you to deal directly with the JDBC. Something like either of the above will hide alot of that away from you, while not being as overly complicated as hibernate.


https://code.google.com/p/jdbc-helper/

Here is the description I copied from its project page: Inspired by Spring Jdbctemplate and Commons Dbutils projects, JdbcHelper is a very small library for helping the developers code common jdbc operations. JdbcHelper is very lightweight. It is only ~70K and it has no external dependencies.