Class Jsr310JpaConverters.LocalDateTimeConverter

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

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

    • LocalDateTimeConverter

      public LocalDateTimeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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