Working in webservices
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,