jdbctemplate, refactoring etc.