| Yeah, seems like a fairly standard approach would be to convert these using, say, yearMonth.atDay(1) or year.atDay(1), to get a LocalDate and persist that as a SQL DATE, and then to convert back by just taking the bits we need to construct the Year or YearMonth. |