Oracle OJDS_NAMESPACE
Version 21c

General Information
Library Note Morgan's Library Page Header
Which has the higher priority in your organization: Deploying a new database or securing the ones you already have? Looking for a website, and resources, dedicated solely to securing Oracle databases? Check out DBSecWorx.
Purpose Database support for Oracle Java Directory Service
AUTHID CURRENT_USER
Dependencies
STANDARD (only)    
Documented No
Exceptions
Error Code Reason
ORA-29532 Java call terminated by uncaught Java exception
First Available 12.1
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/javavm/install/ojds_namespace.sql
Subprograms
 
EXECUTE
Executes the command ojds_namespace.execute RETURN NUMBER;
PRAGMA SUPPLEMENTAL_LOG_DATA(execute, NONE);
SELECT ojds_namespace.execute
FROM dual;
*
ERROR at line 2:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalStateException
-- to be successful you must previously have used WRITE to provide a command to execute
 
READ
Reads the serialized result following command execution ojds_namespace.read RETURN LONG RAW;
PRAGMA SUPPLEMENTAL_LOG_DATA(read, READ_ONLY);
CREATE TABLE t(
col CLOB);

DECLARE
 retVal BLOB;
BEGIN
  retVal := ojds_namespace.read;
  INSERT INTO t
  (col)
  VALUES
  (TO_CLOB(retVal));
END;
/
-- will return a result only if a command has been executed
 
WRITE
Writes the serialized command to be executed ojds_namespace.write(bytes IN LONG RAW);
PRAGMA SUPPLEMENTAL_LOG_DATA(write, READ_ONLY);
TBD

Related Topics
Built-in Functions
Built-in Packages
DBMS_JAVA
DBMS_JAVA_DUMP
DBMS_JAVA_MISC
DBMS_JAVA_TEST
OJDS_CONTEXT
What's New In 19c
What's New In 20c-21c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2019 Daniel A. Morgan All Rights Reserved
  DBSecWorx