## Uses of Class
oracle.sql.Datum

Packages that use Datum
oracle.jdbc: Beginning in Oracle9i, the Oracle extensions to JDBC are captured in the package `oracle.jdbc`.
oracle.sql: A package of classes that represent java SQL types and Oracle specific SQL types.
oracle.sql.json: The API for JSON type in Oracle Database.

### Uses of Datum in oracle.jdbc

Methods in oracle.jdbc that return Datum
`Datum` OracleCallableStatement.`getOracleObject​(int parameterIndex)` Retrieves data into an `oracle.sql.Datum` object.
`Datum` OracleResultSet.`getOracleObject​(int columnIndex)` Oracle extension.
`Datum` OracleResultSet.`getOracleObject​(java.lang.String columnName)` Oracle extension.
`Datum[]` OracleCallableStatement.`getOraclePlsqlIndexTable​(int paramIndex)` Deprecated. since 18.1 Use java.sql.CallableStatement.getObject(int parameterIndex) method.

Methods in oracle.jdbc with parameters of type Datum
`void` OracleCallableStatement.`setOracleObject​(java.lang.String parameterName, Datum x)` Sets the designated parameter to an `oracle.sql.Datum`value.
`void` OraclePreparedStatement.`setOracleObject​(int parameterIndex, Datum x)` Binds the designated parameter to a `oracle.sql.Datum` value.
`void` OraclePreparedStatement.`setOracleObjectAtName​(java.lang.String parameterName, Datum value)` Sets the designated parameter to an `oracle.sql.Datum`value.
`void` OracleResultSet.`updateOracleObject​(int columnIndex, Datum value)` Oracle extension.
`void` OracleResultSet.`updateOracleObject​(java.lang.String columnName, Datum value)` Oracle extension.

### Uses of Datum in oracle.sql

Subclasses of Datum in oracle.sql
`class` `ARRAY` Deprecated. Use java.sql.Array interface for declaration instead of using concrete class oracle.sql.ARRAY.
`class` `BFILE` Deprecated. Use oracle.jdbc.OracleBfile interface for declaration instead of using concrete class oracle.sql.BFILE.
`class` `BINARY_DOUBLE` The BINARY_DOUBLE class is a representation of the Oracle BINARY_DOUBLE datatype.
`class` `BINARY_FLOAT` The BINARY_FLOAT class is a representation of the Oracle BINARY_FLOAT datatype.
`class` `BLOB` Deprecated. Use java.sql.Blob interface for declaration instead of using concrete class oracle.sql.BLOB.
`class` `BOOLEAN` The BOOLEAN class is a representation of the Oracle BOOLEAN datatype.
`class` `CHAR` The Oracle specific representation of characters.
`class` `CLOB` Deprecated. Use java.sql.Clob interface for declaration instead of using concrete class oracle.sql.CLOB.
`class` `DATE` DATE Class
`class` `DatumWithConnection` A supper class for some Oracle specific datatypes, such as BFILE, BLOB, etc.
`class` `INTERVALDS` INTERVALDS Class
`class` `INTERVALYM` INTERVALYM Class
`class` `JAVA_STRUCT` A class for structured data type.
`class` `NCLOB` Deprecated. Use java.sql.NClob interface for declaration instead of using concrete class oracle.sql.NCLOB.
`class` `NUMBER` NUMBER Class
`class` `OPAQUE` Deprecated. Use oracle.jdbc.OracleOpaque interface for declaration instead of using concrete class oracle.sql.OPAQUE.
`class` `RAW` The RAW class is a representation of the Oracle RAW datatype.
`class` `REF` Deprecated. Use java.sql.Ref interface for declaration instead of using concrete class oracle.sql.REF.
`class` `ROWID` The ROWID class is a representation of the Oracle ROWID datatype.
`class` `STRUCT` Deprecated. Use java.sql.Struct interface for declaration instead of using concrete class oracle.sql.STRUCT.
`class` `TIMESTAMP` TIMESTAMP Class
`class` `TIMESTAMPLTZ` TIMESTAMPLTZ Class
`class` `TIMESTAMPTZ` TIMESTAMPTZ Class

Fields in oracle.sql declared as Datum
`protected Datum` Datum.`targetDatum`

Methods in oracle.sql that return Datum
`Datum` ANYDATA.`accessDatum()` Returns the embedded object.
`Datum[]` ARRAY.`getDatumArray()` Deprecated.
`Datum[]` STRUCT.`getDatumArray()` Deprecated.
`Datum[]` ARRAY.`getOracleArray()` Deprecated. Oracle extension.
`Datum[]` ARRAY.`getOracleArray​(long index, int count)` Deprecated. Oracle extension.
`Datum[]` STRUCT.`getOracleAttributes()` Deprecated. Oracle extension.
`Datum` ANYDATA.`toDatum​(java.sql.Connection c)`
`Datum` CustomDatum.`toDatum​(oracle.jdbc.driver.OracleConnection c)` Called by setOracleObject to extract a Datum.
`Datum` ORAData.`toDatum​(java.sql.Connection c)` Extract an oracle.sql.Datum object.
`Datum` TypeDescriptor.`toDatum​(java.sql.Connection c)`
`Datum[]` ArrayDescriptor.`toOracleArray​(oracle.jdbc.internal.OracleArray s, Datum sDatum, long beginIdx, int count, boolean keepLocalCopy)` Deprecated. Side Effect: array.datumArray, array.bytes may be modified if 'keepLocalCopy' is true
`Datum[]` StructDescriptor.`toOracleArray​(java.util.Map attributes)` Deprecated.

Methods in oracle.sql with parameters of type Datum
`protected boolean` Datum.`bytesEqual​(Datum other)`
`static ANYDATA` ANYDATA.`convertDatum​(Datum datum)` Constructs an ANYDATA instance from any instance of `Datum`.
`CustomDatum` CustomDatumFactory.`create​(Datum d, int sqlType)` create an Object from SQL Type and return it.
`ORAData` ORADataFactory.`create​(Datum d, int sqlType)` Create an ORAData from a oracle.sql.Datum
`byte[]` ArrayDescriptor.`toBytes​(oracle.jdbc.internal.OracleArray s, Datum sDatum, boolean keepLocalCopy)` Deprecated. Side Effect: array.datumArray, array.bytes may be modified if 'keepLocalCopy' is true
`java.lang.Object[]` ArrayDescriptor.`toJavaArray​(oracle.jdbc.internal.OracleArray s, Datum sDatum, long beginIdx, int count, java.util.Map map, boolean keepLocalCopy)` Deprecated. Side Effect: array.datumArray, array.bytes, s.objectArray may be modified if 'keepLocalCopy' is true
`java.lang.Object` ArrayDescriptor.`toNumericArray​(oracle.jdbc.internal.OracleArray array, Datum arrayDatum, long beginIdx, int count, int type, boolean saveLocalCopy)` Deprecated.
`Datum[]` ArrayDescriptor.`toOracleArray​(oracle.jdbc.internal.OracleArray s, Datum sDatum, long beginIdx, int count, boolean keepLocalCopy)` Deprecated. Side Effect: array.datumArray, array.bytes may be modified if 'keepLocalCopy' is true
`java.sql.ResultSet` ArrayDescriptor.`toResultSet​(oracle.jdbc.internal.OracleArray array, Datum arrayDatum, long index, int count, java.util.Map map, boolean saveLocalCopy)` Deprecated.

### Uses of Datum in oracle.sql.json

Subclasses of Datum in oracle.sql.json
`class` `OracleJsonDatum` Represents a JSON type value and holds Oracle binary JSON.

Methods in oracle.sql.json with parameters of type Datum
`OracleJsonValue` OracleJsonFactory.`createValue​(Datum datum)` Creates a new JSON value from a Datum.