Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- SpringBoot
- JPQL
- pointcut
- 그리디
- Greedy
- Spring Boot
- 김영한
- Servlet
- java
- 자바
- 백준
- spring
- Thymeleaf
- Exception
- Proxy
- QueryDSL
- kotlin
- AOP
- 스프링
- 스프링 핵심 기능
- springdatajpa
- 스프링 핵심 원리
- db
- jpa
- transaction
- JDBC
- http
- 알고리즘
- Android
- 인프런
Archives
- Today
- Total
목록query (1)
개발자되기 프로젝트
Spring Data JPA
Spring Data JPA사용하면 와..이게되네? Spring Data JPA는 JPA를 활용하기 쉽게 도와주는 라이브러리임. 핵심은 JPA라는것을 잊지 말자. 1. SpringDataMemberRepository interface 인터페이스를 하나 만들자! JpaRepository와 이전에 만들어둔 MemberRepository를 상속 받는다. public interface SpringDataJpaMemberRepository extends JpaRepository, MemberRepository{ @Override Optional findById(Long aLong); } 간단하게 선언하는 것으로 사용이 가능하다. 그리고 JpaRepository를 상속받는 인터페이서는 스프링 데이터 JPA가 구현체..
Spring Boot
2021. 7. 24. 00:10