Oracle OJDS_NAMESPACE
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai is now availble. If you haven't you downloaded already: Why?
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;
SELECT ojds_namespace.execute;
*
ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalStateException

-- to be successful you must have previously used WRITE to provide a command to execute
 
READ
Reads the serialized result following command execution ojds_namespace.read RETURN LONG RAW;
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);
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 21c
What's New In 26ai

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