Initial code with jdbcnamedtemplate