DAO provided with @Transactional to make it work. Should be moved into service layer.