Change the version of spring-dbunit and use NamedParameterJdbcTemplate
in compter method in DAO