Oracle OJDS_NAMESPACE
Version 18.3

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 Orcle Java Directory Service
AUTHID CURRENT_USER
Dependencies Only Standard
Documented No
Exceptions
Error Code Reason
ORA-29532 Java call terminated by uncaught Java exception
First Available New in 12.1
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/javavm/jvm_ojds.sql
Subprograms
 
EXECUTE
Executes the command ojds_namespace.execute RETURN NUMBER;
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;
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_NAMESPACE
What's New In 18c
What's New In 19c

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