Question : statement.getObject returning java.math.bigdecimal insead of java.lang.integer

We are currently migrating our application from websphere 5.1 to websphere 6.1
Some piece of code that was working fine earlier is throwing classcast exception : java.math.bigdecimal incompatible to java.lang.integer.

Answer : statement.getObject returning java.math.bigdecimal insead of java.lang.integer

There is a java version change from websphere 5.1 to websphere 6.1

(webspehre 5.1 based on jre 1.4 and webspehre 1.6 based on jre 1.5)

Hence you are seeing exceptions with the old code..( may be the ones used in your application are deprecated with the new java version etc)

I am not a java person so I cannot exactly tell you what to change.

Any java developer should be able to fix this version issue easily.

Random Solutions  
 
programming4us programming4us