All Packages Class Hierarchy This Package Previous Next Index
Interface oracle.sql.CustomDatum
- public interface CustomDatum
-
toDatum(OracleConnection)
- Called by setOracleObject to extract a Datum.
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