November 2017
Intermediate to advanced
542 pages
14h 24m
English
We now have only a few changes to make to refactor from a JPA implementation to a MongoDB implementation. We will begin by refactoring our CalendarUserRepository.java file by changing the interface that our repository extends, as follows:
//com/packtpub/springsecurity/repository/CalendarUserRepository.java ... import org.springframework.data.mongodb.repository.MongoRepository; public interface CalendarUserRepository extends MongoRepository <CalendarUser, Integer> { ...
This same change needs to be applied to the EventRepository.java file and the RoleRepository.java files accordingly.
Read now
Unlock full access