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