|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DynamicMappingAdapter
Interface for dynamic custom mappers.
| Method Summary | |
|---|---|
Object |
get(CallableStatement cs,
int[] indexes)
Method to map the result of a callable statement to the returned object. |
Object |
get(ResultSet rs,
int[] indexes)
Method to map the current record of a result set to the returned object. |
Object |
get(ResultSet rs,
String[] columns)
Method to map the current record of a result set to the returned object. |
void |
registerOutputParameter(CallableStatement cs,
int[] indexes)
Method to register an out parameter for a callable statement. |
void |
set(PreparedStatement ps,
Object value,
int[] indexes)
Method to map the object value to a prepared statement. |
| Methods inherited from interface sf.qof.mapping.MappingAdapter |
|---|
getNumberOfColumns, getTypes |
| Method Detail |
|---|
void set(PreparedStatement ps,
Object value,
int[] indexes)
throws SQLException
value to a prepared statement.
indexes defines the SQL index for the prepared statement to be used
in functions such a setInt(index, value).
ps - prepared statementvalue - value objectindexes - array of SQL indexes
SQLException
void registerOutputParameter(CallableStatement cs,
int[] indexes)
throws SQLException
cs - callable statementindexes - array of SQL indexes
SQLException
Object get(ResultSet rs,
int[] indexes)
throws SQLException
indexes defines the SQL indexes for the result set to be used
in functions such a getInt(index).
rs - result setindexes - array of SQL indexes
SQLException
Object get(ResultSet rs,
String[] columns)
throws SQLException
columns defines the SQL column name for the result set to be used
in functions such a getInt(name).
rs - result setcolumns - array of SQL column names
SQLException
Object get(CallableStatement cs,
int[] indexes)
throws SQLException
indexes defines the SQL indexes for the result set to be used
in functions such a getInt(index).
cs - callable statementindexes - array of SQL indexes
SQLException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||