Interface CustomDatum

public abstract interface CustomDatum

Method Summary
 Datum toDatum(OracleConnection c)
          Called by setOracleObject to extract a Datum.

Method Detail


public Datum toDatum(OracleConnection c)
              throws java.sql.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.

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