queryDSL2 [Querydsl] between 조건. LocalDate to LocalDateTime post의 createdDateTime(LocalDateTime) 컬럼이 startDate(LocalDate), endDate(LocalDate) 사이에 있는 값을 뽑기 위해 where 조건을 추가하려고 한다. builder.and( post.createdDateTime.between( startDate.atStartOfDay(), LocalDateTime.of(searchParams.endDate, LocalTime.MAX) ) ) asStartOfDay()로 startDate에 00:00:00을 추가해서 LocalDateTime으로 만든다. endDate은 23:59:59.999999 을 조건으로 붙이기 위해 LocalDateTime.of를 사용했는데 실제로는 처리될때는 다음날 00:00:00 로 조.. 2020. 8. 5. [Gradle] :compileQuerydsl task error Problem Task ':compileQuerydsl' is not up-to-date because: Task has failed previously. Custom actions are attached to task ':compileQuerydsl'. All input files are considered out-of-date for incremental task ':compileQuerydsl'. Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments. Compiling wit.. 2019. 5. 10. 이전 1 다음