|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for getting data into, and out of a mapped statement
| Method Summary | |
boolean |
equals(java.lang.Object object,
java.lang.String string)
Compares two values (that this handler deals with) for equality |
java.lang.Object |
getResult(java.sql.CallableStatement cs,
int columnIndex)
Gets a column from a callable statement |
java.lang.Object |
getResult(java.sql.ResultSet rs,
int columnIndex)
Gets a column from a result set |
java.lang.Object |
getResult(java.sql.ResultSet rs,
java.lang.String columnName)
Gets a column from a result set |
void |
setParameter(java.sql.PreparedStatement ps,
int i,
java.lang.Object parameter,
java.lang.String jdbcType)
Sets a parameter on a prepared statement |
java.lang.Object |
valueOf(java.lang.String s)
Converts the String to the type that this handler deals with |
| Method Detail |
public void setParameter(java.sql.PreparedStatement ps,
int i,
java.lang.Object parameter,
java.lang.String jdbcType)
throws java.sql.SQLException
ps - - the prepared statementi - - the parameter indexparameter - - the parameter valuejdbcType - - the JDBC type of the parameter
java.sql.SQLException - if setting the parameter fails
public java.lang.Object getResult(java.sql.ResultSet rs,
java.lang.String columnName)
throws java.sql.SQLException
rs - - the result setcolumnName - - the column name to get
java.sql.SQLException - if getting the value fails
public java.lang.Object getResult(java.sql.ResultSet rs,
int columnIndex)
throws java.sql.SQLException
rs - - the result setcolumnIndex - - the column to get (by index)
java.sql.SQLException - if getting the value fails
public java.lang.Object getResult(java.sql.CallableStatement cs,
int columnIndex)
throws java.sql.SQLException
cs - - the statementcolumnIndex - - the column to get (by index)
java.sql.SQLException - if getting the value failspublic java.lang.Object valueOf(java.lang.String s)
s - - the String value
public boolean equals(java.lang.Object object,
java.lang.String string)
object - - one of the objectsstring - - the other object as a String
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||