closed as off-topic by Laurel, manetsus, Lambda Ninja, Compass, Edvin Tenovimas Aug 6 ‘16 at 6:57This question appears to be off-topic. The users who voted to close gave this specific reason:
|
|||||||||||||
|
I recommend Spring JDBC templates. While it‘s not a "true" ORM, it‘s a pleasure to use where Hibernate seems to be an overkill. |
|||||||||||||
|
sql2o seems like a Dapper alternative - thin wrapper around JDBC
github - https://github.com/aaberg/sql2o site - http://www.sql2o.org/ |
|||||
|
Here‘s a list of tools that "ease the pain" when interacting with simple JDBC:
And here‘s a list of tools that go a bit beyond simple JDBC, i.e. provide some ORM / ActiveRecord facilities
|
|||||||||
|
Another interesting light ORM is JDBI. Here is Five minute intro It has two alternative APIs: Fluent API
and SQL Object API where SQL statements are mapped to methods with declarative interfaces like this:
|
|||||||||
|
Also checkout SimpleFlatMapper It‘s a performant simple ResultSet to Object mapper. It just plug on top of jdbc and gives far better performance than Hibernate Ibatis or even sql2o. It easily integrate JdbcTemplate and provides constructor, setter and field injection. |
|||||
|
This one doesn‘t seem to be mentioned here yet: dalesbred Similar to sql2o and dapper... |
|||||
|