Spring JDBC template without Spring

Peter Štibraný picture Peter Štibraný · Dec 7, 2011 · Viewed 9.3k times · Source

Is there Java library like Spring JDBC Template, with same quality of code and documentation and similar data access exceptions hierarchy, but without dependancies on other Spring modules (core/beans/context modules according to http://mvnrepository.com/artifact/org.springframework/spring-jdbc/3.0.6.RELEASE)?

Answer

melihcelik picture melihcelik · Dec 7, 2011

Spring-jdbc has direct dependency to the following libraries: spring-core, spring-beans and spring-tx. The rest of the dependencies are optional, so you don't need them actually.

If these dependencies are already a lot for you, then you might have a look at Apache DbUtils.