문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
java:querydsl [2020/07/31 10:19] kwon37xi [Case/When] |
java:querydsl [2022/01/21 22:58] kwon37xi |
||
---|---|---|---|
줄 5: | 줄 5: | ||
* [[http:// | * [[http:// | ||
* Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, JDO and SQL in Java. | * Querydsl is a framework which enables the construction of type-safe SQL-like queries for multiple backends including JPA, JDO and SQL in Java. | ||
+ | * [[java: | ||
+ | * [[https:// | ||
===== Q-Types multi thread loading 시 dead lock ===== | ===== Q-Types multi thread loading 시 dead lock ===== | ||
줄 100: | 줄 102: | ||
.then(qUser.registerDate) // DB 입장에서 DATE 컬럼 | .then(qUser.registerDate) // DB 입장에서 DATE 컬럼 | ||
.otherwise( | .otherwise( | ||
- | // DB 입장에서 DATE 인 ' | + | // DB 입장에서 DATE 인 ' |
+ | // 들어가기 때문에 어쩔 수 없이 문자로 모든 것을 넣어줌 | ||
Expressions.dateTimeTemplate(LocalDateTime.class, | Expressions.dateTimeTemplate(LocalDateTime.class, | ||
newDateTime.format(DateTimeFormatter.ofPattern(" | newDateTime.format(DateTimeFormatter.ofPattern(" |