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 » [Solved] Data Insert Node Issue

Post new topic  Reply to topic
 [Solved] Data Insert Node Issue « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Wed Sep 21, 2005 2:20 am    Post subject: [Solved] Data Insert Node Issue Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi,
I am trying to enter a row of data into an Oracle database. I am using the Data Insert node...all seems to be ok, i got the table from th list and imported it into the workspace...

I have finished mapping the input-->output fields.....

On running the flow the input fields are all populated and reach the node....an exception is thrown which says that NULL value cannot be passed to the field "Datasource.Table.Field"

Has anyone faced this issue ??

WBIMB v5.0.4
Oracle9i
Windows 2000 Prof.

Regards.


Last edited by elvis_gn on Wed Sep 21, 2005 3:51 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Ian
PostPosted: Wed Sep 21, 2005 2:48 am    Post subject: Reply with quote

Disciple

Joined: 22 Nov 2002
Posts: 152
Location: London, UK

Your description here suggests that you have not combined the mappings in the DataInsert node to apply to the same row.

If mappings are not combined to apply to one row then an individual INSERT statement will be generated for every column mapping.

If any of the columns is defined to have NOT NULL, then this will lead to a database error indicating that a NULL value cannot be inserted.

For example, if a table has 2 columns but you only insert a value into one of them then the other will be assigned the value NULL.

Refer to the v5 topic "ar00870_" for a further information on combining mappings into one row.
_________________
Regards, Ian
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Sep 21, 2005 3:51 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Thanks a lot.Got it working.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » [Solved] Data Insert Node Issue
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.