on 05-16-2008 12:48 PM
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.
this was solved by using java.util.Date in my entity classes, and using @temporal for the Date fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.