Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- spring
- Spring JPA
- spring MVC
- elasticsearch
- java.util.list
- java
- map
- asyncconfigurer
- wire type
- list
- kotlin
- jpa
- DeferredImportSelector
- awssecretsmanagerpropertysources
- asynccustomautoconfiguration
- SpringMVC
- java list
- java lambda
- traceasynccustomautoconfiguration
- traceId
- EnableWebMvc
- Spring Boot
- CompletableFuture
- aws secretmanager
- Sleuth
- grpc
- micrometer tracing
- HashMap
- ResponseBody
- @FunctionalInterface
Archives
- Today
- Total
목록jpa api (1)
du.study기록공간

JpaRepository를 사용하면서 매번 사용하고 있는 API들에 대해 한번 기록해보려합니다. 우선 테스트를 다음과같은 간략학 JpaRepository를 작성하였습니다. import org.springframework.data.jpa.repository.JpaRepository; public interface AccountRepository extends JpaRepository { } 다음과 같이 JpaRepository 를 상속만 하면되며 별도의 @Repository를 이용하여 등록하지 않아도 됩니다.(이부분은 추후에 다시 찾아보는걸로) repository의 준비가 끝났고, 이제 사용할 수 있는 method를 정리하려 합니다. JpaRepository를 살펴보면, 내부적으로 PagingAndSort..
JPA
2020. 9. 11. 22:20