mapping a java.sql.Date instance
1 posts in topic
Flat View  Flat View

Posted By:   Adam_Rubin
Posted On:   Tuesday, June 18, 2002 02:32 PM

Very new to SOAP, so sorry if I sound like an idiot here. I'm trying to make a call that passes a java.sql.Date instance. I tried to create a new DateSerializer and map it to that, but the DateSerializer only serializes java.util.Date instances.

Does anyone know of a java.sql.Date Serializer/DeSerializer that I can grab? Or is there an easier way to do this?

Re: mapping a java.sql.Date instance

Posted By:   Bozidar_Dangubic  
Posted On:   Wednesday, June 19, 2002 09:19 AM

cast to java.util.Date or create java.util.Date from java.sql.Date and use DateSerializer. java.sql.Date IS java.util.Date so cast should work ok.
About | Sitemap | Contact