# Repository

JpaRepository > PagingAndSortingRepository > CrudRepository > Repository

## JpaRepository

```java
@Repository
public interface MyRepository extends JpaRepository<MyEntity, Long> {
	
}
```


## 메서드 이름 규칙

* findBy, readBy, getBy, queryBu, searchBy, streamBy
* and, or
* isLike, isNotLike
* is, isNot
* startsWith, isStartingWith
* endsWith, isEndingWith
* contains, isContaining
* isNull, isNotNull
* isTrue, isFalse
* before, after
* isLessThan, isGreaterThan
* isBetween
* orderBy
* first, top
* countBy
* existsBy
* deleteBy, removeBy