could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet] with root cause
org.postgresql.util.PSQLException: ERROR: syntax error at or near ":"
У меня проблемы с выбором диапазона из двух временных отметок
@Query(value = "SELECT s.* FROM logines.work_hour s WHERE s.start_time between ?1 and now()::timestamp", nativeQuery = true)
List<WorkHour> findByStartTime(String startTime);