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 » database accesss in javacompute node

Post new topic  Reply to topic
 database accesss in javacompute node « View previous topic :: View next topic » 
Author Message
sachinramesh
PostPosted: Tue Mar 20, 2007 11:18 am    Post subject: database accesss in javacompute node Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

hai,
can any one give me sample code to execute an sql statement in java compute node. Dont give me the sample code given in the help.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Mar 20, 2007 11:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You create an instance of MbSqlStatement, and then use the methods on that to prepare and execute the statement, and retrieve any results.

Or you can just use normal JDBC - with Type 4 drivers only.
_________________
I am *not* the model of the modern major general.
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 » database accesss in javacompute node
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.