Unable to find records by LocalDate on dates with clock changes occurring at midnight #1792
Labels
status: feedback-provided
Feedback has been provided
status: waiting-for-triage
An issue we've not yet triaged
When using the
java.time.LocalDate
type as a parameter for querying (which is converted tojava.sql.Timestamp
during the execution), some databases return an empty result in certain cases. For instance, this occurs with dates where a clock change happens at midnight.Code snippet to reproduce (Daylight Saving Time began in Egypt on April 26, 2024):
The text was updated successfully, but these errors were encountered: