Problem with comparing java.time.LocalDate with postgres date
I have a problem with downloading a record from a database for which the date, in the form in a database, looks like this: 2018-10-14 (date)
The structure in the database of this field looks like this: next_day DATE NOT NULL
When you call the findDay method, an exception is thrown:
Caused by: org.postgresql.util.PSQLException: ERROR: operator does not exist: date