javax.persistence.AttributeConverter<java.time.ZonedDateTime,oracle.sql.TIMESTAMPTZ>
public class OracleZonedDateTimeConverter
extends java.lang.Object
implements javax.persistence.AttributeConverter<java.time.ZonedDateTime,oracle.sql.TIMESTAMPTZ>
TIMESTAMPTZ
to ZonedDateTime
and back.Constructor | Description |
---|---|
OracleZonedDateTimeConverter() |
Modifier and Type | Method | Description |
---|---|---|
oracle.sql.TIMESTAMPTZ |
convertToDatabaseColumn(java.time.ZonedDateTime attribute) |
|
java.time.ZonedDateTime |
convertToEntityAttribute(oracle.sql.TIMESTAMPTZ dbData) |
public oracle.sql.TIMESTAMPTZ convertToDatabaseColumn(java.time.ZonedDateTime attribute)
convertToDatabaseColumn
in interface javax.persistence.AttributeConverter<java.time.ZonedDateTime,oracle.sql.TIMESTAMPTZ>
public java.time.ZonedDateTime convertToEntityAttribute(oracle.sql.TIMESTAMPTZ dbData)
convertToEntityAttribute
in interface javax.persistence.AttributeConverter<java.time.ZonedDateTime,oracle.sql.TIMESTAMPTZ>
Copyright © 2014–2018. All rights reserved.