Created
July 9, 2018 23:31
-
-
Save ryanzhou7/3217efe4f4332f4fa548287e515857f4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hello; | |
import org.springframework.data.repository.CrudRepository; | |
import hello.User; | |
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository | |
// CRUD refers Create, Read, Update, Delete | |
public interface UserRepository extends CrudRepository<User, Long> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment