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 » Oracle XMLTYPE column

Post new topic  Reply to topic
 Oracle XMLTYPE column « View previous topic :: View next topic » 
Author Message
soudhanya
PostPosted: Mon Dec 09, 2019 9:36 pm    Post subject: Oracle XMLTYPE column Reply with quote

Novice

Joined: 27 Feb 2017
Posts: 20

Hi, I am trying to insert xml data in xmltype datatype field in database below is my code snippet but i am getting Unsupported feature.

ps1 = connection.prepareStatement(InsertQuery);
SQLXML xmlVal = connection.createSQLXML();
String dobleXML="";
xmlVal.setString(dobleXML);
ps1.setSQLXML(5, xmlVal);
ps1.executeUpdate();

I tried to insert as string like below but it is working for 2KB file but not 10 KB file.
byte bBlob[] = dobleXmlElem.toBitstream(null, null, null, 546, 1208, 0);
String dobleXml = new String(bBlob);
ps1 = connection.prepareStatement(InsertQuery);
ps1.setString(i++, dobleXml);
ps1.executeUpdate();

how to insert data in xmltype fieild. Any help on this?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Oracle XMLTYPE column
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.