When retrieving a date using the ResultSet.getDate() method, I found that sometimes, my date was off by one day. If I expected 2008-04-01, it would return 2008-03-31. This did not occur for every row I read though.
In production mode, I will be going across networks, so I was using the remote access mode for testing:
However, if I change the URL to the following, then the dates come back correctly:
Could this be a Java serialization problem? Can you please look at this and see if it is possible to fix?
A co-worker helped me solve my problem.
My server side was running under 1.6 JVM. My client side was 1.4 JVM. It appears they are not necessarily backwards compatible.
Your server side and client side should be on different time zone.