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 » JDBC adapter and decimals

Post new topic  Reply to topic
 JDBC adapter and decimals « View previous topic :: View next topic » 
Author Message
4integration
PostPosted: Tue Jul 10, 2007 6:19 am    Post subject: JDBC adapter and decimals Reply with quote

Disciple

Joined: 04 Sep 2006
Posts: 197
Location: Gothenburg, Sweden

Hello,

We are using JDBC adapter and want to create records in the database (Oracle). One of the fields are have the type NUMBER(18, 4) i.e. 4 decimals.
The BO type is set to "Double".

When creating and debugging the message in WMB the field contains 100.10 and when the message is on the REQUESTQUEUE it says 1.001E+2 which are correct.
When the message is in the database it contains the value 1.001, not 100.10.

Why is that?
Is it a bug in WBIA for JDBC not able to handle the E+2 stuff and just ignoring?
_________________
Best regards
4 Integration
Back to top
View user's profile Send private message
pakya
PostPosted: Thu Aug 09, 2007 9:58 pm    Post subject: Re: JDBC adapter and decimals Reply with quote

Novice

Joined: 22 Mar 2004
Posts: 14

Hi,

The above problem is not a bug in Adapter.

The Problem can be resolved with setting a parameter in the BO,at the function where you find set & get function, add function bigDec = true,

This will also give you Dynamic Invvocation problem in your connector configuration

Regards,
Pakya
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 » JDBC adapter and decimals
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.