Search Results unset_native_compiler_option




Overview

SYS.DBMS_JAVA is the core PL/SQL interface through which the Oracle database manages its embedded Java virtual machine, its Aurora/ORB runtime, and — most relevant to Oracle E-Business Suite administrators — the native compilation of Java classes and methods stored in the database. In the EBS 12.1.1 and 12.2.2 architectures, the application tier relies on database-resident Java (for example, the Oracle XML Publisher, Workflow Java classes, and various EBS Java-based utilities). DBMS_JAVA provides the DBA and developer-facing entry points used to compile, uncompile, inspect, and tune those Java objects. The package is owned by SYS and is classified as OTHER within the ETRM repository, with 103 documented procedures and functions. It is heavily referenced throughout the EBS stack — the ETRM metadata records nine other packages that depend on it — which reflects its role as a foundational service rather than an application-specific API. The package body wraps many operations as thin pass-throughs to DBMS_JAVA_DEFINERS and to Java classes such as oracle.aurora.perf.OracleBTL.

Key Procedures and Functions

Tables Accessed

The ETRM metadata does not document any base tables accessed directly by DBMS_JAVA through APPS synonyms. The package operates against the Oracle Java data dictionary objects maintained by the RDBMS — principally the JAVA$ class and method metadata and the Aurora/native-compiler internal structures — rather than against EBS application tables. Its effects are therefore observed in the state of stored Java objects, not in EBS transactional or setup data.

Usage Notes

SYS.DBMS_JAVA is typically invoked from SQL*Plus or from custom PL/SQL during EBS patching, cloning, and performance tuning. Typical scenarios include recompiling invalid Java classes after applying an EBS patch, clearing native compiler options before applying a Java-based patch, and using COMPILE_CLASS/COMPILE_METHOD to force recompilation when EBS Java-dependent features (for example, XML Publisher or Workflow mailer) fail. Because the package is owned by SYS, it should not be modified. Grant the necessary Java system privileges (for example, via DBMS_JAVA.GRANT_PERMISSION) before calling into these routines, and avoid running native compiler option changes while concurrent Java-based EBS processes are active.