|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomDatumFactory
This interface complements CustomDatum. It is passed to getCustom methods to create specific kinds of objects.
Typical use is
EmpFactory factory = new EmpFactory(); OracleResultSet rs = ... ; Emp m = (Emp)rs.getCustom(n, factory); ...
Method Summary | |
---|---|
CustomDatum |
create(Datum d, int sqlType) create an Object from SQL Type and return it. |
Method Detail |
---|
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
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |