public class LocalDateTimeConverter extends Object implements javax.persistence.AttributeConverter<LocalDateTime,Date>
LocalDateTimeConverter is an attribute converter for LocalDateTime to
Date.
LocalDateTime the type of the entity attribute Date the type of the database
column| Constructor and Description |
|---|
LocalDateTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
convertToDatabaseColumn(LocalDateTime date) |
LocalDateTime |
convertToEntityAttribute(Date value) |
public Date convertToDatabaseColumn(LocalDateTime date)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<LocalDateTime,Date>public LocalDateTime convertToEntityAttribute(Date value)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<LocalDateTime,Date>Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.