|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
J - Java types iń the business objectsD - Converted Java types to a JDBC type readypublic interface ITypeService<J,D>
A type service for popular Java types and more. Implementation must have got an no-parameter constructor.
| Method Summary | |
|---|---|
Class<D> |
getDbTypeClass(MetaColumn column)
Return an converted Java type to use in database DDL statements. |
J |
getValue(MetaColumn mColumn,
CallableStatement rs,
int c)
GetValue from the stored precedure by position. |
J |
getValue(MetaColumn mColumn,
ResultSet rs,
int c)
GetValue from the result set by position It must be the same implementation as getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int). |
void |
setValue(MetaColumn mColumn,
PreparedStatement rs,
J value,
int c)
GetValue from the result set by position. |
| Method Detail |
|---|
J getValue(MetaColumn mColumn,
ResultSet rs,
int c)
throws SQLException
getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int).
mColumn - Meta-model column, where the typeCode must be assigned before.rs - The ResultSet instancec - Catabase column index starting at #1
SQLException
J getValue(MetaColumn mColumn,
CallableStatement rs,
int c)
throws SQLException
getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.ResultSet, int).
mColumn - Meta-model column, where the typeCode must be assigned before.rs - The CallableStatement instancec - Catabase column index starting at #1
SQLException
void setValue(MetaColumn mColumn,
PreparedStatement rs,
J value,
int c)
throws SQLException
mColumn - Meta-model column, where the typeCode must be assigned before.rs - PreparedStatementvalue - Value to assignc - The database column index starts at #1
SQLExceptionClass<D> getDbTypeClass(MetaColumn column)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||