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