Class Jsr310JpaConverters.LocalDateConverter

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

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

    • LocalDateConverter

      public LocalDateConverter()
  • Method Details

    • convertToDatabaseColumn

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

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