JAVA/JAVA__Framework-Springboot

Specification

말하는감자 2021. 4. 19. 10:26

Specification

  • Spring DATA 에서 DB 쿼리의 조건을 Spec으로 작성해서 Repository 에 적용하거나 몇가지 Spec을 조합해서 사용할 수 있게 도와준다
  • JPA에서 검색의 조건이 복잡해질때 원하는 조건에 맞춰서 추가할 수 있다

상속

  • JpaSpecificationExecutor 를 추가로 상속 받아야 한다

Doc

구현해보기

  • 추가 예정

'JAVA > JAVA__Framework-Springboot' 카테고리의 다른 글

springboot centos7 에 배포하기  (0) 2021.03.24
jpql dynamic query  (0) 2020.04.29
setting  (0) 2020.03.06
Execution failed for task ':compileJava'.  (0) 2019.12.09
AuthorizationServerConfigurerAdapter  (0) 2019.11.01