Skip navigation links

Oracle Database JDBC Java API Reference
11g Release 2

E13995-03


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.

Skip navigation links

Oracle Database JDBC Java API Reference
11g Release 2

E13995-03


Copyright © 2009, Oracle and/or its affiliates. All rights reserved.