1 package de.juplo.jpa.converters;
3 import java.time.ZoneId;
4 import javax.persistence.AttributeConverter;
5 import javax.persistence.Converter;
9 * Converts a {@link ZoneID} to its string-representation as ID.
12 @Converter(autoApply = true)
13 public class ZoneIdConverter implements AttributeConverter<ZoneId,String>
16 public String convertToDatabaseColumn(ZoneId zone)
24 public ZoneId convertToEntityAttribute(String string)
28 return ZoneId.of(string);