spring-odissue-project: moving func from controller to DAO