tags:

views:

584

answers:

2

Do you know of any resources that describe building a data access layer using Spring's JdbcTemplate classes? I'm looking for something beyond the basics described in the Spring framework documentation.

+1  A: 

If not the online docs, perhaps books will help. "Spring in Action", "Pro Spring", "Spring Recipes" - take your pick. I'm not sure how much detail you're looking for, though. I fear that you'll be disappointed.

duffymo
Thanks. Spring in Action has little beyond the 'best practices' section of the Spring docs. I'll look into the other books.
Mike Sickler
The 2 apress books you mention have a lot of good code that give examples of using SQLFunction, SQLUpdate, MappingSqlQuery, etc. This is more or less what I was looking for. Cheers.
Mike Sickler
A: 

I'm not really sure of exactly what it is you are looking for, but I basically create a DAO class that has a SimpleJDBCTemplate as a property. It is set via dependency injection. The public methods of the DAO abstract the interaction with the SimpleJDBCTemplate.

bpapa