Oracle OJDS_NAMESPACE
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
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 18cR3
What's New In 19cR3

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