I have an application that is running fine on DB2 8.x

When i migrated to v9.5, i noticed that the stored procedure class returns duplicated rows every after 2 calls. It is very odd: initial call returns 2 rows, after another two calls, it returns 4 rows (which contains the dupes of the first call).

I have a simple dbtester that can call the proc without using spring, and it appears to be consistently giving the correct number of rows no matter what.

So i have a feeling that the problem is outside the driver.

Does anyone encounter a similar issue?

BTW, I am using spring's storedproc class.

Appreciate your help.

Thanks.