• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Use of Timestamp

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic