Hi Stan, We can't integrate the patch the way it is since it doesn't fit with the current code base and semantics of Castor. The best way to provide marshalling and unmarshalling of such a class is to use the pluggable FieldHandler API in Castor. What you have to do is write a specific FieldHandler that will help the marshalling framework to marshal/unmarshal a java.sql.TimeStamp. You can take a look at org.exolab.castor.xml.handlers.DateFieldHandler as an example. Once your handler is ready you can specify it using the 'handler' attribute of the <field> element in a mapping file. Feel free also to send us the handler so that we can integrate it in the next release.
Thanks, Arnaud -----Original Message----- From: Tyree, Stan [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:03 PM To: [EMAIL PROTECTED] Subject: [castor-dev] CastorXML Timestamp issue Quan, � I saw this post and�didn't see your fix in the latest version of castor.� Do you know if anyone�has plans of addressing the problem/solution you had? � http://www.mail-archive.com/[email protected]/msg01422.html � Thanks, � Stan T. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
