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 » anyone tried storing XML document in DB2 table?

Post new topic  Reply to topic
 anyone tried storing XML document in DB2 table? « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Mon Jun 11, 2012 5:06 am    Post subject: anyone tried storing XML document in DB2 table? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Since version 9, db2 supports the storing of well-formed XML document in DB2 tables.

Has anyone used this new capability from database node or compute node to insert, update and retrieve XML document from message flow?

thanks for sharing!

_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jun 11, 2012 5:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Use Google:

http://www.mqseries.net/phpBB2/viewtopic.php?t=19774&view=next&sid=60acda166477d6a1ae58f0014af20f9d
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Mon Jun 11, 2012 4:51 pm    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

pcelari wrote:
Has anyone used this ... ?

Almost certainly, someone has. The InfoCenter documents supported conversions between database data types and ESQL data types.

lancelotlinc wrote:
Use Google:

http://www.mqseries.net/phpBB2/viewtopic.php?t=22112

The question was about a DB2 XML data type introduced as of DB2 v9, supported as of WMB v6.1. The answer does not lie in a seven-year old post about DB2 VARCHAR and WBIMB v5.
Back to top
View user's profile Send private message
pcelari
PostPosted: Tue Jun 12, 2012 3:48 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

rekarm01 wrote:
Almost certainly, someone has. The InfoCenter documents supported conversions between database data types and ESQL data types.


Thank you rekarm01 so much for pointing to the right document!
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 12, 2012 5:05 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

rekarm01 wrote:
lancelotlinc wrote:
Use Google:

http://www.mqseries.net/phpBB2/viewtopic.php?t=22112

The question was about a DB2 XML data type introduced as of DB2 v9, supported as of WMB v6.1. The answer does not lie in a seven-year old post about DB2 VARCHAR and WBIMB v5.


But it does point out the fact that the OP didn't perform even the most basic due diligence. I could have posted forty links.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jun 12, 2012 5:31 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

pcelari wrote:
rekarm01 wrote:
Almost certainly, someone has. The InfoCenter documents supported conversions between database data types and ESQL data types.


Thank you rekarm01 so much for pointing to the right document!


You shouldn't have needed anyone to point you to the right document.

You waste a lot of people's time, ESPECIALLY YOUR OWN, by posting this kind of question without doing any homework yourself.

Back to top
View user's profile Send private message
rekarm01
PostPosted: Wed Jun 13, 2012 12:33 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

lancelotlinc wrote:
But it does point out the fact that the OP didn't perform even the most basic due diligence.

No, it doesn't even do that. Maybe he did, maybe he didn't; sometimes the relevant documentation is hard to find.

lancelotlinc wrote:
I could have posted forty links.

Perhaps, but who does that help?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jun 13, 2012 5:01 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

rekarm01 wrote:
lancelotlinc wrote:
But it does point out the fact that the OP didn't perform even the most basic due diligence.

No, it doesn't even do that. Maybe he did, maybe he didn't; sometimes the relevant documentation is hard to find.

lancelotlinc wrote:
I could have posted forty links.

Perhaps, but who does that help?


Exactly right. mqjeff summarized the sentiment nicely.

mqjeff wrote:
You shouldn't have needed anyone to point you to the right document.

You waste a lot of people's time, ESPECIALLY YOUR OWN, by posting this kind of question without doing any homework yourself.

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
rekarm01
PostPosted: Sat Jun 16, 2012 9:18 pm    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

lancelotlinc wrote:
Exactly right. mqjeff summarized the sentiment nicely.

mqjeff wrote:
You shouldn't have needed anyone to point you to the right document.
You waste a lot of people's time, ESPECIALLY YOUR OWN, by posting this kind of question without doing any homework yourself.

mqjeff's sentiment may be misplaced here. The OP had merely asked whether anyone had used the new DB2 XML datatype; he hadn't actually asked for someone to point him to the right document. He's not the one whose lack of "due diligence" is wasting other people's time.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Jun 17, 2012 3:35 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

rekarm01 wrote:
lancelotlinc wrote:
Exactly right. mqjeff summarized the sentiment nicely.

mqjeff wrote:
You shouldn't have needed anyone to point you to the right document.
You waste a lot of people's time, ESPECIALLY YOUR OWN, by posting this kind of question without doing any homework yourself.

mqjeff's sentiment may be misplaced here.


I'm always willing to admit that I'm grumpy and short with posters based on HOW they say things, rather than WHAT they say, and that this is a failing and may not be of service to the community.

This particular poster has a history of asking questions that do not sit well with me.

This particularly question is, as you pointed out rekarm01, directly addressed in the documentation. Part of learning to use Broker is learning to use the documentation.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 17, 2012 11:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I'm sorry I'm going to go with rekarm01 on this one.
The OP did not ask how to do it. He asked if anyone had done it. Kind of are there any gotcha's that I should know of, that aren't in the manuals or the books? Can't fault him for asking that...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Jun 18, 2012 1:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
I'm sorry I'm going to go with rekarm01 on this one.
The OP did not ask how to do it. He asked if anyone had done it. Kind of are there any gotcha's that I should know of, that aren't in the manuals or the books? Can't fault him for asking that...


Except the manuals say it can't be done!
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Jun 18, 2012 1:38 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Quote:
Except the manuals say it can't be done!


I disagree. The "Manuals" show it maps to an ESQL BLOB.

Kind Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jun 18, 2012 1:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mgk wrote:
Quote:
Except the manuals say it can't be done!


I disagree. The "Manuals" show it maps to an ESQL BLOB.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 19, 2012 8:49 am    Post subject: Re: anyone tried storing XML document in DB2 table? Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
Part of learning to use Broker is learning to use the documentation.


I very much promote mqjeff's statement as being accurate. It is a mental exercise sifting through the WebSphere Message Broker Infocentre, even with the help of Google.

I have some aggrevation with the state of the InfoCentre:

1. There seems to be a definite lack of extensive code examples by design. Occasionally, you will find a few lines of example code here or there. The samples make up for the lack of examples in the documentation, however, I find it very easy to follow docs with specific examples.

2. When looking for some specific information, I end up in a round-robin of links with no more information that I started with before clicking. SSL information is a great example of a topic that needs a better overview with better step-by-step. Especially when some of the documentation talks about setting SSL on the broker level and some on the Execution Group level, and how to choose between the two. I finally came to know that SOAP node SSL properties can only be configured at the EG level. Would have saved me days of frustration if I knew this, but no where in the InfoCentre is this fact straight-forwardly mentioned.

3. Some places where the documentation is wrong takes years to get it corrected. Case-in-point the bru-ha-ha about Primary Group Id for the Service Id that Broker runs under must be mqbrkrs and not mqm group.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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 » anyone tried storing XML document in DB2 table?
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.