ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to parse MBElement object to Clob ?

Post new topic  Reply to topic
 How to parse MBElement object to Clob ? « View previous topic :: View next topic » 
Author Message
hunghip95
PostPosted: Thu Dec 03, 2020 12:49 am    Post subject: How to parse MBElement object to Clob ? Reply with quote

Apprentice

Joined: 12 Oct 2017
Posts: 30

Hi all,
I'm trying to pass large JSON Array to a Oracle DB 19c Procedure as a Clob data type.

Flow my service:
+ HTTPInput -> Java Compute Node ( call Procedure) -> Reply.

Description:
+ My REST service get large JSON Array from Request, then it calls a Oracle procedure which requires a Clob Input. Whole JSON Request needs to be passed to Oracle procedure as Input.

Problem:
+ The whole JSON Array Request will be processed as MBElement object at Java Compute Node. It seems that there is no way to parse this MBElement to Clob.

Expectation:
+ How can I parse large JSON Array to Clob ?
+ Specially, how can I parse a MBElement to Clob ?

Thank you very much.
Back to top
View user's profile Send private message
timber
PostPosted: Thu Dec 03, 2020 4:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
How can I parse large JSON Array to Clob
That's not parsing, it is serialization/marshalling.
Quote:
Specially, how can I parse a MBElement to Clob
You use the toBitstream() method on MbElement.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to parse MBElement object to Clob ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.