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 Interchange Server + Adapters » steps to get value from a database table

Post new topic  Reply to topic
 steps to get value from a database table « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Thu Nov 17, 2005 3:29 pm    Post subject: steps to get value from a database table Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

how can I get value for an attribute of a bo. lets say the name of the attribute is flightNumber. the table has flightnum ber and its value in two colums ( i guess I do not know in fact). I have been told there will be a table and my job is to retrive the value.

how i can retrieve the value and populate the attribute of the BO

thanks
Back to top
View user's profile Send private message
vk
PostPosted: Thu Nov 17, 2005 4:57 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

What exactly is the requirement?

Do you have a JDBC adapter to poll for records? Do you want the FlightNumber to be sent to a queue whenever an entry is made in the table?
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Nov 17, 2005 5:09 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I am talking about replacing an attribute of a bo in MAP. there are only a very few attributes are mapped from source to destination bos. most of the attribute of the destination BO are filled with value which has to be retrieved from a relationship table.

I hope you got my point.

thanks
Back to top
View user's profile Send private message
kotha
PostPosted: Thu Nov 17, 2005 8:41 pm    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

Make a call to database with JDBC connector and I think you are retrieving the fields from database, use retrieve verb. the BOs are different for different connectors. for JDBC, give TN as table name in the app specific info and CN as column name of that data base where you are trying to retrieve the filed.

Go through with the help documentation. It clearly mentioned the BO requirements for different connectors.
Back to top
View user's profile Send private message
jeevan
PostPosted: Fri Nov 18, 2005 8:14 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I am not talking about reating BO. when we design map, some attributes of the Destination BO are to be replaced from a relationship table. This is statement.

I think this is clear.

Now, the question is: how can i retrive a value for the attribute from a relationship table?

Please rem, that the different child/parent of the destination BO have attribute of same name.

parent has EmpID that takes diff value than the empID of the two children

means there are three constant with same name but in diff BO within a map to be replaced by a constant value from a relationship table.

thanks
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 Interchange Server + Adapters » steps to get value from a database 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.