public interface ExtendedType<T>
| Modifier and Type | Field and Description | 
|---|---|
| static int | TRIM_VALUES_THRESHOLDDefines trimming constant for toString method that helps to limit logging of large values. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClassName()Returns a full name of Java class that this ExtendedType supports. | 
| T | materializeObject(CallableStatement rs,
                 int index,
                 int type)Reads an object from a stored procedure OUT parameter, converting it to class
 returned by 'getClassName' method. | 
| T | 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,
             T value,
             int pos,
             int type,
             int scale)Initializes a single parameter of a PreparedStatement with object value. | 
| String | toString(T value)Converts value of the supported type to a human-readable String representation. | 
static final int TRIM_VALUES_THRESHOLD
String getClassName()
void setJdbcObject(PreparedStatement statement, T value, int pos, int type, int scale) throws Exception
ExceptionT 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.T materializeObject(CallableStatement rs, int index, int type) throws Exception
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.