oracle.jdbc.internal.ObjectDataFactorypublic interface CustomDatumFactory
extends oracle.jdbc.internal.ObjectDataFactory
Typical use is
EmpFactory factory = new EmpFactory(); OracleResultSet rs = ... ; Emp m = (Emp)rs.getCustom(n, factory); ...
| Modifier and Type | Method | Description |
|---|---|---|
CustomDatum |
create(Datum d,
int sqlType) |
create an Object from SQL Type and return it.
|
CustomDatum create(Datum d, int sqlType) throws SQLException
d - some SQL data that should be used to initialize an Object.sqlType - the SQL type that theSQLException