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