Spring framework and database connection via DAO - working