This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes SqlGetFloatData Error with DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SqlGetFloatData Error with DB2" Watch "SqlGetFloatData Error with DB2" New topic

SqlGetFloatData Error with DB2

Mia James

Joined: Jun 30, 2010
Posts: 1

We recently built a new stage server for our application, which is the exact replica of the production server (currently running). When we attempt to perform any float-value operations on the Stage server, we get the following error:

We are using DB2 for database and JBOSS for application server. The version of JBOSS, DB2, and all related JAR files is the same on production and stage server. This error is occuring only on Stage and not on Production. Please help, if someone has seen this before and know how to resolve it.

I search on net and did not find anything useful.

Thanks in advance.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703

It sounds like you've checked everything but if the staging and production really are identical, then you wouldn't be seeing this error. My guess is there is something different between the two that you've overlooked. I'd start with the JDBC driver and go from there.

My Blog: Down Home Country Coding with Scott Selikoff
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703

By the way, this link seems to confirm my suspicion that it has something to do with the DB2 driver:
I agree. Here's the link:
subject: SqlGetFloatData Error with DB2
Similar Threads
Error in DB2 connection Pooling
DB2 8.0 Driver Error
CachedRowSet - Stored Procedure
DB2 App Driver gives Null Pointer
DB2 StaleConnectionException