Database Embedded JVM (OJVM)


Embedded JVM aka OJVM has the capability to run Java code in the stored procedures. The OJVM runs Java code in user session (within the dedicated or shared server), in the same memory space as SQL and PL/SQL. Through the Integrated Oracle JDBC driver, make performant and secure data access without moving data outside the database. OJVM also allows networking and web-services callout.


OJVM Features

Main Highlights

  • Cloud: Available in Database Cloud Services including DBCS and Base Database Service.
  • HA: Full RAC and DG rolling support in DB 26ai and 23ai; limited RAC rolling support in DB 19c (see MOS Note 2217053.1).
  • Security: Quarterly Security RU updates

Important Benefits

  • Integrated JDBC-kprb driver to allow performant and secure data access without moving data outside the database.
  • Specialized JIT, Memory Manager and Security subsystems designed for database and cloud environment.
  • Networking callouts including: Web Services (SOAP & REST), and external Oracle database access via integrated JDBC-Thin-Server driver.
  • US Government CISA and FIPS standard compliance.
  • Database Navigator (DBN) IntelliJ plugin available.

Web Services Callout (SOAP & REST)


A new utility Oracle Web Services Callout Utility (OJVMWCU) which accepts WSDL (SOAP Web Services) as well as WADL (Restful Web Services) and additional parameters then retrieves the Web Services client proxy, loads it in the database and generates the wrapper for calling out the Web Service from SQL and PL/SQL

For more details, see the related chapter and our DB 12.2 white paper What's in Oracle Database 12c Release 2 for Java & JavaScript Developers