public class ZonedDateTimeAdapter extends Object implements javax.persistence.AttributeConverter<ZonedDateTime,Timestamp>
ZonedDateTime into Timestamp.| Constructor and Description |
|---|
ZonedDateTimeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
convertToDatabaseColumn(ZonedDateTime attribute) |
ZonedDateTime |
convertToEntityAttribute(Timestamp dbData) |
public Timestamp convertToDatabaseColumn(ZonedDateTime attribute)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<ZonedDateTime,Timestamp>public ZonedDateTime convertToEntityAttribute(Timestamp dbData)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<ZonedDateTime,Timestamp>Copyright © 2015 Red Hat, Inc.. All rights reserved.