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 » Accessing Database using JavaCompute JDBC Drivers

Post new topic  Reply to topic
 Accessing Database using JavaCompute JDBC Drivers « View previous topic :: View next topic » 
Author Message
Kumar4
PostPosted: Tue Sep 25, 2007 8:25 am    Post subject: Accessing Database using JavaCompute JDBC Drivers Reply with quote

Apprentice

Joined: 12 Aug 2007
Posts: 27

Hi,

I'm testing a flow where I can access database using JDBC Drivers thru JavaCompute Node,how can I specify the driver, database information using JavaCompute Node and also a sample code where I can use just a SELECT statement to get the record info from DB?

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 25, 2007 8:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You write Java code to do this.

There isn't any Broker specific support for JDBC - either in developing Flows or in the MB Java API.

There's no difference between running JDBC in Broker than in running it in a standalone java program or in a J2EE app server.

You really should not be doing this unless you absolutely have to. The Broker ODBC database functions are significantly more user friendly and manageable. If you need to call these functions from a JavaCompute node, you can use the MbSqlStatement class.

I don't think anyone here is going to help you learn JDBC.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Kumar4
PostPosted: Tue Sep 25, 2007 9:57 am    Post subject: Reply with quote

Apprentice

Joined: 12 Aug 2007
Posts: 27

I know about JDBC.

Wondering whether the ODBC connection can work for Linux?
I'm connecting to Oracle DB from Linux

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 25, 2007 10:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The only Linux that does not support ODBC connections to Oracle databases from Message Broker v6.0.x is zLinux.

If you are working on Message Broker v6.0.x, and deploying to zLinux and you need to use Oracle databases... then you *have* to use JDBC.

If you are using message broker on any other Linux other than zLinux, you should be fine.
_________________
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 » Accessing Database using JavaCompute JDBC Drivers
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.