|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How can I execute the esql dynamic in java node programming? |
« View previous topic :: View next topic » |
Author |
Message
|
frankies |
Posted: Fri Mar 18, 2005 5:09 am Post subject: How can I execute the esql dynamic in java node programming? |
|
|
Newbie
Joined: 07 Mar 2005 Posts: 6
|
Hello ,everyone !
Now I'm trouble in how to execute the esql dynamic in java node programming.
For exmple :
"EVAL('SET Environment.Variables.ConvContent.Root.a.b[1] =9+8;'); "
,.This expression is execute correctly in the ESQL file, but now I wonder
how to invoke the MB's API , to get the same result like that. Who can't
tell me . Thanks in advance.
Regards,
frank.  |
|
Back to top |
|
 |
frankies |
Posted: Fri Mar 18, 2005 5:18 am Post subject: I have try my best to do that. |
|
|
Newbie
Joined: 07 Mar 2005 Posts: 6
|
I try to use com.ibm.broker.plugin.MbSQLStatement to achieve that.
But this class only support in using retrive data from database. I
execute a simple math expression. !!!!!!! |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Mar 18, 2005 5:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I had understood that createSQLStatement would allow you to run arbitrary ESQL. But maybe that is not true.
What are you actually trying to do?
If you're just trying to do math, then use Java to do the math, don't try to use ESQL from inside Java. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
frankies |
Posted: Fri Mar 18, 2005 7:47 am Post subject: |
|
|
Newbie
Joined: 07 Mar 2005 Posts: 6
|
I don't only execute the math ,but also query some config items from
table in database. Do you have any sample or meteria to share? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|