Package cvut.fel.repository
Interface LibraryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Library,java.lang.Long>
,org.springframework.data.repository.Repository<Library,java.lang.Long>
public interface LibraryRepository extends org.springframework.data.repository.CrudRepository<Library,java.lang.Long>
-
Method Summary
Modifier and Type Method Description boolean
existsById(java.lang.Long id)
java.util.List<Library>
findByName(java.lang.String firstname)
-
Method Details
-
findByName
-
existsById
boolean existsById(java.lang.Long id)- Specified by:
existsById
in interfaceorg.springframework.data.repository.CrudRepository<Library,java.lang.Long>
-