ORA_JAVA.IS_NULL
built-in functionThis function returns a BOOLEAN
value that indicates whether or
not an object is null.
FUNCTION ORA_JAVA.IS_NULL (
obj IN ORA_JAVA.JOBJECT)
RETURN BOOLEAN;
Parameter |
Description |
|
A valid instance of the Java class. The actual
parameter can be any object of type |
PROCEDURE foo IS
obj ORA_JAVA.JOBJECT;
...
BEGIN
obj := myclass.new;
IF NOT ORA_JAVA.IS_NULL(obj) THEN
pck.obj := ORA_JAVA.NEW_GLOBAL_REF(obj);
...
END IF;
...
END;
Copyright © 1984, 2005, Oracle. All rights reserved.