Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating Date

 
mujtaba habib
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to update a date/time field in MS Access Database. here is the code but its not working
java.sql.Date sqlDate = new java.sql.Date(new java.util.Date().getTime());

result.updateDate("op_pw_change_date",sqlDate);
result.updateRow();
Error Message is: Error in row
its works fine when i comment updateDate row
any idea ??
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think the JDBC-ODBC driver supports that method.
 
mujtaba habib
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. but other updateXXX() methods r working fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic