• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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