Class Jsr310JpaConverters.ZoneIdConverter

java.lang.Object
org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.ZoneIdConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<ZoneId,String>
Enclosing class:
Jsr310JpaConverters

public static class Jsr310JpaConverters.ZoneIdConverter extends Object implements jakarta.persistence.AttributeConverter<ZoneId,String>
  • Constructor Details

    • ZoneIdConverter

      public ZoneIdConverter()
  • Method Details

    • convertToDatabaseColumn

      @Nullable public String convertToDatabaseColumn(ZoneId zoneId)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<ZoneId,String>
    • convertToEntityAttribute

      @Nullable public ZoneId convertToEntityAttribute(String zoneId)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<ZoneId,String>