Skip to Content.
Sympa Menu

freetds - JDBC -- does PreparedStatement.setTimestamp() and ResultSet.getTimestamp() work?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Betty Chang <bettyc AT aimnet.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: JDBC -- does PreparedStatement.setTimestamp() and ResultSet.getTimestamp() work?
  • Date: Sun, 12 Mar 2000 22:51:44 -0800

Hello  -- I seem to have trouble with both of them.  I print out the java.sql.Timestamp before calling setTimestamp() and it is correct, but the data is not quite right.   I cannot quite figure out how the data is wrong. 
 
I also have a problem with getTimestamp() also -- the java.sql.Timestamp returned is sometimes wrong.
 
Betty
 


  • JDBC -- does PreparedStatement.setTimestamp() and ResultSet.getTimestamp() work?, Betty Chang, 03/13/2000

Archive powered by MHonArc 2.6.24.

Top of Page