Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Working in webservices

Hi All,

I have written a webservice which retrieves data of type java.sql.Date from the mysql database.In the database i have declared the type as date.

the web service is working fine but i am getting data of type java.util.GregorianCalendar.

Why this mismatch is happening?

what should i do for getitng java.sql.Date type itself?

Thanks in advance,

Vani

Former Member
Not what you were looking for? View more on this topic or Ask a question