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 » Insert XML datatype into Oracle

Post new topic  Reply to topic
 Insert XML datatype into Oracle « View previous topic :: View next topic » 
Author Message
flahunter
PostPosted: Wed Jul 15, 2009 6:43 pm    Post subject: Insert XML datatype into Oracle Reply with quote

Acolyte

Joined: 30 Oct 2008
Posts: 62

Hi, all

As you know Oracle 9i can support XMLType element. So i was wondering if Message Broker could support XMLType and how can I insert a XML dataype element into Oracle?
Back to top
View user's profile Send private message
keenlearner
PostPosted: Wed Jul 15, 2009 9:48 pm    Post subject: Reply with quote

Acolyte

Joined: 24 Aug 2006
Posts: 62

Yes Oracle9i supports the XMLType and Broker can insert and retrieve the XMLType variable from Oracle.

Code:

CREATE PROCEDURE <Procedure Name> (IN param1 INTEGER,OUT param3 CHARACTER)
LANGUAGE DATABASE
EXTERNAL NAME "<Database package name.fucntiona name>";



The above should give a kick start to you
Back to top
View user's profile Send private message
flahunter
PostPosted: Wed Jul 15, 2009 11:33 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Oct 2008
Posts: 62

Thank you for you answer. But what's the problem I met is I need to insert an XML as an element into database

such as

CREATE PROCEDURE Insert_DB (IN param1 XMLType,OUT param3 CHARACTER)
LANGUAGE DATABASE
EXTERNAL NAME "<Database package name.fucntiona name>";

But it's not supported in Message Broker. Who can give me some ideas?
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Jul 16, 2009 2:49 am    Post subject: Re: Insert XML datatype into Oracle Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

flahunter wrote:
So i was wondering if Message Broker could support XMLType and how can I insert a XML dataype element into Oracle?

No, the broker ESQL does not support Oracle's XMLType. Check here for a list of supported data types from external sources.

Inserting an XMLType element into an Oracle table requires:
  • either a Java Compute node (with Oracle DOM API jars),
  • or an Oracle stored procedure to convert a supported parameter type to XMLType.
Back to top
View user's profile Send private message
flahunter
PostPosted: Mon Jul 20, 2009 7:08 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Oct 2008
Posts: 62

Thank you. Now I have got some ideas
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 » Insert XML datatype into Oracle
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.