Migration from org.joda.time.Interval in Spring Boot
问题 I used to apply org.joda.time.Interval to represent a time interval with fixed start and end times (different from a duration which is independent from specific times) to exchange via REST and store energy schedules in a Spring Boot server application (2.2.2.RELEASE). I tried different ways to store a org.joda.time.Interval field of an object via JPA/Hibernate: jadira (7.0.0.CR1) with annotation above the field definition ( @Type(type = "org.jadira.usertype.dateandtime.joda.PersistentInterval