public interface ExtendedType
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns a full name of Java class that this ExtendedType supports.
|
Object |
materializeObject(CallableStatement rs,
int index,
int type)
Reads an object from a stored procedure OUT parameter, converting it to class
returned by 'getClassName' method.
|
Object |
materializeObject(ResultSet rs,
int index,
int type)
Reads an object from JDBC ResultSet column, converting it to class returned by
'getClassName' method.
|
void |
setJdbcObject(PreparedStatement statement,
Object value,
int pos,
int type,
int scale)
Initializes a single parameter of a PreparedStatement with object value.
|
String getClassName()
void setJdbcObject(PreparedStatement statement, Object value, int pos, int type, int scale) throws Exception
Exception
Object materializeObject(ResultSet rs, int index, int type) throws Exception
Exception
- if read error occurred, or an object can't be converted to a
target Java class.Object materializeObject(CallableStatement rs, int index, int type) throws Exception
Exception
- if read error ocurred, or an object can't be converted to a
target Java class.Copyright © 2001–2014 Apache Cayenne. All rights reserved.