Skip to Content
0
Former Member
May 16, 2008 at 11:48 AM

Webservice - java.sql.Timestamp

49 Views

Dear all,

I'm creating a webservice for a Bean that get a list of Entries through JPA.

Receiving the list of entries via the bean method works fine. Now i wanted to create a webservice for my bean. When my bean uses java.util.date, the webservice can be created an deployed, but my jpa is not working , because jpa needs java.sql.Timestamp or java.sql.Date ....

When i use java.sql.Timestamp in my entity classes, the jpa code is working fine, but deploying of webservice fails, although java.sql.Timestamp should be a supported type...

Any idea what's wrong here?

Kind regards,

J.