public class LocalDateTimeStringConverter extends Object implements AttributeConverter<LocalDateTime,String>
LocalDateTime and String.
Stores values in database as string in format specified by
DateTimeFormatter.ISO_LOCAL_DATE_TIME.| Constructor and Description |
|---|
LocalDateTimeStringConverter() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
toEntityAttribute(String value) |
String |
toGraphProperty(LocalDateTime value) |
public String toGraphProperty(LocalDateTime value)
toGraphProperty in interface AttributeConverter<LocalDateTime,String>public LocalDateTime toEntityAttribute(String value)
toEntityAttribute in interface AttributeConverter<LocalDateTime,String>Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.