ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbmigrator <abhishek_g...@omniscient.co.in>
Subject Re: Issue with Big number multiplication
Date Fri, 07 Sep 2007 15:04:53 GMT

Richard,

Thanks for you reply,

I have searched about it, Oracle supports big number multiplication, but DB2
not. I am asking about a single common way to write a query in iBatis to
work with both DBs.

Any suggetions...

Thanks
Dbmigrator


Richard Yee wrote:
> 
> You need to see what functions Oracle provides. iBATIS is database 
> agnostic.
> 
> -Richard
> 
> dbmigrator wrote:
>> Hi All,
>>
>> I was working on an application which is running purely with DB2 8.1. Now
>> the requirement came to run this on Oracle10g, so I have decided to use
>> iBatis as a mid layer so that code base will be common for both the
>> platforms.
>>
>> while migrating application from DB2 to iBatis I am facing a big issue
>> related to Functions MUTILPLY_ALT() of DB2 which i was using to avoid
>> Arithmetic overflow exception in case of big numbers multiplication.
>>
>> Can anyone suggest me to do Big number multiplication in iBatis? 
>> every suggestion will be helpful for me.
>>
>> Thanks
>> Dbmigrator
>>   
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Issue-with-Big-number-multiplication-tf4401235.html#a12556975
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message