• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of Timestamp  RSS feed

 
Deena Raj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A VO used in my application had a Date(java.util.Date) field. I need to change it to Timestamp(java.sql.Timestamp). However the webservice does not work as expected after making this change. It says java.lang.IllegalArgumentException: argument type mismatch
Can anyone help me with this?
 
Deena Raj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this was an error msg that I recieved when using Timestamp:
20:13:51,178 ERROR [BeanPropertyTarget] Could not convert java.util.GregorianCalendar to bean field 'createTimestamp', type java.sql.Timestamp
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!