You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entity attribute types java.time.LocalDate and java.time.LocalDateTime are Comparable, but they implement Comparable<ChronoLocalDate> and Comparable<ChronoLocalDateTime> respectively rather than Comparable<LocalDate> and Comparable<LocalDateTime>.
I noticed this when attempting to use the static metamodel for LocalDate, where the following doesn't compile,
To be clear, I wasn't suggesting to remove Comparable, only to have this issue as a reminder so that LocalDate it isn't overlooked because it does require an update to the API (using Comparable<?> instead) before we release it.
Entity attribute types java.time.LocalDate and java.time.LocalDateTime are Comparable, but they implement
Comparable<ChronoLocalDate>
andComparable<ChronoLocalDateTime>
respectively rather thanComparable<LocalDate>
andComparable<LocalDateTime>
.I noticed this when attempting to use the static metamodel for
LocalDate
, where the following doesn't compile,The text was updated successfully, but these errors were encountered: