Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

oracle.jdbc
Interface OracleDataFactory


public interface OracleDataFactory


Method Summary
 OracleData create(java.lang.Object jdbcValue, int sqlType)
          Create an OracleData from a jdbc Object
 

Method Detail

create

OracleData create(java.lang.Object jdbcValue,
                  int sqlType)
                  throws java.sql.SQLException
Create an OracleData from a jdbc Object

This method creates the customized OracleData from a jdbc Object. Sometimes, it is convenient to have the same class implement both OracleData and OracleDataFactory.

Parameters:
jdbcValue - The jdbc Object to be used to initialize the Object being created.
sqlType - The SQL type of the specified Datum.
Returns:
an Object that embeds information from jdbcValue.
Throws:
java.sql.SQLException - if an error occurred.

Oracle JDBC API Reference
11g Release 2 ("11.2.0.3.0")

Copyright © 1998, 2007, Oracle. All rights reserved.