Move to Spring4 + remove PasswordSettingsController + remove PremiumSettingsController

This commit is contained in:
Rémi Cocula
2016-12-11 21:13:51 +01:00
parent d78244aa36
commit ddd8498040
45 changed files with 80 additions and 569 deletions
@@ -88,7 +88,7 @@ public class TestCaseUtils {
* @return
*/
public static Integer recordsInTable(String tableName, DaoHelper daoHelper) {
return daoHelper.getJdbcTemplate().queryForInt("select count(1) from " + tableName);
return daoHelper.getJdbcTemplate().queryForObject("select count(1) from " + tableName,Integer.class);
}