Changeset ac25203 for src/main/java/com/example/moviezone/repository
- Timestamp:
- 02/03/23 23:11:04 (23 months ago)
- Branches:
- master
- Children:
- eb226b2
- Parents:
- 1b248e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/repository/UserRepository.java
r1b248e4 rac25203 5 5 import org.springframework.data.jpa.repository.JpaRepository; 6 6 7 import java.util.List; 8 7 9 public interface UserRepository extends JpaRepository<User,Integer> { 10 User findByUsername(String username); 11 List<User> findAllByUsernameAndPassword(String username, String password); 8 12 }
Note:
See TracChangeset
for help on using the changeset viewer.