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 » IBM MQ Java / JMS » MbNode.createSQLStatement() throws MbRecoverableException wi

Post new topic  Reply to topic
 MbNode.createSQLStatement() throws MbRecoverableException wi « View previous topic :: View next topic » 
Author Message
Günter
PostPosted: Thu Feb 21, 2002 1:52 am    Post subject: Reply with quote

Newbie

Joined: 20 Feb 2002
Posts: 3

Hi folks,

following code

MbSQLStatement sm = createSQLStatement("GKPROP1", "SELECT T.NAME FROM Database.TABPROP1 AS T");

throws Exception:

<com.ibm.broker.plugin.MbRecoverableException class:JNI method: source:WMQIv210 key:2401 >

I tried hundreds of versions for the createSQLStatement parameters...
I cannot find any hint in the documentation ... (
Has anyone a hint ?

Thanks, Günter
Back to top
View user's profile Send private message
Günter
PostPosted: Mon Feb 25, 2002 5:37 am    Post subject: Reply with quote

Newbie

Joined: 20 Feb 2002
Posts: 3

Ok guys,
the reason is:
it has to have real ESQL syntax including the assignment
(hard for a pure Java programmer...)

MbSQLStatement myStatement = createSQLStatement("GKPROP1","SET OutputRoot.XML.GKPROP1.NAME[] = (SELECT ITEM T.NAME FROM
Database.knauer.TABPROP1 AS T);");

and the next trap is
the ODBC registration has to be as system data source !

- Günter
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 » IBM MQ Java / JMS » MbNode.createSQLStatement() throws MbRecoverableException wi
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.