Class Jsr310JpaConverters.LocalTimeConverter

java.lang.Object
org.springframework.data.jpa.convert.threeten.Jsr310JpaConverters.LocalTimeConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<LocalTime,Date>
Enclosing class:
Jsr310JpaConverters

public static class Jsr310JpaConverters.LocalTimeConverter extends Object implements jakarta.persistence.AttributeConverter<LocalTime,Date>
  • Constructor Details

    • LocalTimeConverter

      public LocalTimeConverter()
  • Method Details

    • convertToDatabaseColumn

      @Nullable public Date convertToDatabaseColumn(LocalTime time)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<LocalTime,Date>
    • convertToEntityAttribute

      @Nullable public LocalTime convertToEntityAttribute(Date date)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<LocalTime,Date>