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