My Oracle Support Banner

HOWTO: Write a CLOB to an Operating System File via a Java Stored Procedure. (Doc ID 790120.1)

Last updated on JUNE 27, 2023

Applies to:

PL/SQL - Version 9.2.0.1 and later
Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: 9.2.0.1.0



Goal

This code is intended to demonstrate extracting a CLOB column from a table and writing it to an operating system file, via a Java Stored Procedure.

This example is a conversion of <Note 247546.1> which addresses the same, for BLOB datatypes.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Requirements
 Configuring
 Instructions
 Sample Code
 Sample Output
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.