JPQL에서 mysql의 now() 함수를 매핑하는 방법 JPQL 시간 매핑 명령어 current_timestamp : yyyyMMdd hh:mi:ss current_date : yyyyMMdd current_time : hh:mi:ss where current_timestamp between b.start and b.end JPQL의 경의 시간 컬럼 타입은 JAVA의 DATETIME으로 자동 매핑되기 때문에 LocalDateTime 클래스를 사용하는 경우 Type miss match가 발생하나, 쿼리는 정상적으로 수행된다.