All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface oracle.sql.CustomDatum

public interface CustomDatum

Method Index

 o toDatum(OracleConnection)
Called by setOracleObject to extract a Datum.

Methods

 o toDatum
 public abstract Datum toDatum(OracleConnection c) throws SQLException
Called by setOracleObject to extract a Datum. It is the CustomDatum's responsibility to be sure that it returns the correct category of Datum.

Most EmbedDatum's will ignore the connection, but it is occassionally needed. For example, if the class embeds CHAR's it may nees the connection to determine the database character set.

Parameters:
c - The connection into which the value is being sent.
Returns:
a Datum containg the value to be sent into the connection.

All Packages  Class Hierarchy  This Package  Previous  Next  Index