public static class Jsr310JpaConverters.LocalDateTimeConverter extends Object implements javax.persistence.AttributeConverter<LocalDateTime,Date>
Constructor and Description |
---|
LocalDateTimeConverter() |
Modifier and Type | Method and Description |
---|---|
Date |
convertToDatabaseColumn(LocalDateTime date) |
LocalDateTime |
convertToEntityAttribute(Date date) |
@Nullable public Date convertToDatabaseColumn(LocalDateTime date)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<LocalDateTime,Date>
@Nullable public LocalDateTime convertToEntityAttribute(Date date)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<LocalDateTime,Date>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.