Added logic using JdbcDaoSupport