Jpql Trunc Date Example, It is very common to use the TRUNC function when searching within a range of dates.