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
- Q 클래스
- @IdClass
- Filter
- JPA주의사항
- 스프링 부트 기능
- json
- jwt메서드
- ERD 작성
- 최종 프로젝트
- uncheck Exception
- REST란
- JoinColumn
- REST API 규칙
- json gson 차이
- git
- 빈생성안됨
- github
- jpa회원가입
- Error creating bean with name
- 1차캐시
- Unsatisfied dependency
- queryDSL
- spring서버
- 스프링부트오류
- jpa에러
- 스프링 부트 공식 문서
- JPA
- Spring Spring boot 차이
- 복합키
- 인텔리제이
Archives
- Today
- Total
목록til (1)
Everyday Dev System
아래와 같이 피드백을 받았습니다. public List getPostList() { List postList = postRepository.findAllByOrderByCreatedAtDesc(); List responseDtoList = new ArrayList(); for (Post post : postList) { post.setCommentList(commentRepository.findAllByPostIdOrderByCreatedAtDesc(post.getId())); responseDtoList.add(new PostResponseDto(post)); } return responseDtoList; } 먼저, PostService 클래스 내부에서 전체 게시글을 조회하는 메서드 코드입니다. DB에..
내배캠 주요 학습/Spring 숙련
2023. 7. 12. 14:14