G
Guest
I have recently experienced a rather strange occurrence in one of my VB.Net
applications. When extracting values from an oracle database (oracle
9.2.0.4.0) some oracle 'NUMBER' variables are returned as decimal as expected
but others are being returned as double. This causes the
datareader.getDecimal(0) method to fail with an invalid cast exception. The
strange thing is that this code works against other databases running
different versions of Oracle. Has anyone seen this before?
applications. When extracting values from an oracle database (oracle
9.2.0.4.0) some oracle 'NUMBER' variables are returned as decimal as expected
but others are being returned as double. This causes the
datareader.getDecimal(0) method to fail with an invalid cast exception. The
strange thing is that this code works against other databases running
different versions of Oracle. Has anyone seen this before?