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 Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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>