Pure and spring JDBC example