public class OracleUtilDateType extends UtilDateType
TRIM_VALUES_THRESHOLD
Constructor and Description |
---|
OracleUtilDateType() |
Modifier and Type | Method and Description |
---|---|
Date |
materializeObject(CallableStatement cs,
int index,
int type)
Reads an object from a stored procedure OUT parameter, converting it to class
returned by 'getClassName' method.
|
Date |
materializeObject(ResultSet rs,
int index,
int type)
Reads an object from JDBC ResultSet column, converting it to class returned by
'getClassName' method.
|
protected Date |
normalizeDate(Date time)
Offsets date component to be January 1, 1970,
since Oracle adapter returns time based on January 1, 1900.
|
convertToJdbcObject, getClassName, setJdbcObject, toString
public Date materializeObject(CallableStatement cs, int index, int type) throws Exception
ExtendedType
materializeObject
in interface ExtendedType<Date>
materializeObject
in class UtilDateType
Exception
- if read error occurred, or an object can't be converted to a
target Java class.public Date materializeObject(ResultSet rs, int index, int type) throws Exception
ExtendedType
materializeObject
in interface ExtendedType<Date>
materializeObject
in class UtilDateType
Exception
- if read error occurred, or an object can't be converted to a
target Java class.Copyright © 2001–2023 Apache Cayenne. All rights reserved.