Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JDBC DAO - any good reference implementation?

Tags:

java

dao

jdbc

Can anyone point me to a well written DAO using JDBC, that covers all the exceptions a DAO should handle.

I looked at some samples at java.sun.com, their blue prints but there is a lot of theory and less code.

Looking through Spring DAO source code will be enlightening but that's way too complicated for me.

like image 596
Shaw Avatar asked Jun 08 '09 14:06

Shaw


1 Answers

Spring JdbcTemplate provides most plumbing you will need to implement a JDBC DAO.

Further Information at:

http://static.springframework.org/spring/docs/2.0.x/reference/jdbc.html

like image 125
Reginaldo Avatar answered Oct 23 '22 13:10

Reginaldo