Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How To Download Clob From Database From Forms To Client

littlecatJun 17 2021

Hi
Apologies if this has asked recently, I am only able to find old discussions and wish to confirm no better approach than what am using.
Have clob data stored in table. Wish for user to download to file on client. In Forms procedure am selecting clob contents into variable. Then looping through clob with dbms_lob.read to chunk up, then writing each chunk to client using client_text_io.put (webutil).
Cannot use webutil_file_transfer.DB_To_Client_with_progress as this only handles blobs.
Current approach works, but not overly elegant in reading clob into Form. Just checking if better options. Alternative is to read clob into database package and have form call database package to get each chunk, but this not very modular.
Thanks

Comments

karianna

This needs Stuart Marks to answer - I'll ping him over in OpenJDK.

3328368

Okay.  Thanks.  If you think I would do better posting this question someplace else, let me know.

karianna

OpenJDK core-libs mailing list might be a good place as well.

3328368

Thanks.  I reposted to core-libs-dev.

1 - 4

Post Details

Added on Jun 17 2021
5 comments
1,047 views