Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  Buy Now
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Ltd. of Beijing City (abbr, HXTT)

Error in getDate() with client/server mode.
Steven Kouri
2008-05-29 11:21:36.0
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?

Re:Error in getDate() with client/server mode.
Steven Kouri
2008-05-29 11:38:42.0
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.
Re:Re:Error in getDate() with client/server mode.
HXTT Support
2008-05-29 23:22:29.0
Your server side and client side should be on different time zone.

Search Key   Search by Last 50 Questions


Copyright © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap