|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
OCI Datatype Mapping and Manipulation Functions, 120 of 134
Tests if a
REF is null.
boolean OCIRefIsNull ( OCIEnv *env,
CONST OCIRef *ref );
- env (IN/OUT)
The OCI environment handle initialized in object mode.
- ref (IN)
REF to test for null.
TRUE if the given
REF is null; otherwise, returns
REF is null if and only if:
- it is supposed to be referencing a persistent object, but the object's identifier is null
- it is supposed to be referencing a transient object, but it is currently not pointing to an object.
REF is a dangling REF if the object that it points to does not exist.