public class OracleUtilDateType extends UtilDateType
| 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, setJdbcObjectpublic Date materializeObject(CallableStatement cs, int index, int type) throws Exception
ExtendedTypematerializeObject in interface ExtendedTypematerializeObject in class UtilDateTypeException - if read error ocurred, or an object can't be converted to a
target Java class.public Date materializeObject(ResultSet rs, int index, int type) throws Exception
ExtendedTypematerializeObject in interface ExtendedTypematerializeObject in class UtilDateTypeException - if read error occurred, or an object can't be converted to a
target Java class.Copyright © 2001–2018 Apache Cayenne. All rights reserved.