티스토리 뷰
728x90
queryDsl
- goe
- 크거나 같다
- loe
- 작거나 같다
- eq
- 같다
- between
- 사이
- 코드 오타.
자꾸 파싱 중 null이 뜨거나 빈문자열 반환하고 오타 나서 이것 저것 다 찾아봤는데, 결국 오타 ..
원래는 null이 반영 되어 뒷 부분 전체를 검색하는게 맞는데 왜 안 되지 계속 생각 하다 결국 찾은게 오타
endDate << 이부분이 startDate 로 되어 있어서 자꾸 터지는 거였음
뒷자리가 비어 있을 때 적응을 해줘야 하는데
다른 부분이 자꾸 파싱을 해서 터지는 부분 값을 잘 확인 할 것
public LocalDate getEndDate() {
return endDate == null || "".equals(endDate) ? null : LocalDate.parse(this.endDate);
}
- 우선순위 하면서 날린 쿼리문 분석 해보자
Hibernate:
select
department0_.department_no as departme1_11_,
department0_.create_date as create_d2_11_,
department0_.update_date as update_d3_11_,
department0_.create_no as create_n4_11_,
department0_.update_no as update_n5_11_,
department0_.department_depth as departme6_11_,
department0_.department_flag as departme7_11_,
department0_.department_name as departme8_11_,
department0_.department_parent_no as departm10_11_,
department0_.queue_value as queue_va9_11_
from
department department0_
order by
department0_.queue_value desc limit ?
728x90
'2023 > 9월' 카테고리의 다른 글
23-9-20 (0) | 2023.09.20 |
---|---|
23-9-19 (0) | 2023.09.19 |
23-9-16 JPA / Optional , Comparator (0) | 2023.09.16 |
23-9-10 select box 값 유지, th:selected, 타임리프 문자열 비교 ==, 로컬에서 서버로 jar 전송, 실행, 서버 끄기 (0) | 2023.09.10 |
23-9-8 백그라운드 서버 실행, 두번 로그인 문제 (0) | 2023.09.08 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- commit 에러
- optional
- @RequestParam
- React
- C
- 셀렉트박스
- mircrosoft visual studio
- reactStart
- CheckBox
- 체크박스
- selectbox
- ID
- 아이디
- SCP
- 씹어먹는 C 언어
- @reqeustBody
- 다중체크박스 처리
- C언어
- JPA
- 받아오기
- 서버전송
- 제약조건
- reactApp
- 다른데서 react
- findFirstBy
- @Builder
- 셀프로젝트
- react 시작 오류
- th:selected
- App
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함