[ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179329#comment-13179329 ]
Matthias Brandt commented on CXF-4003: -------------------------------------- Thank you! I knew, i forgot something important =) > XmlSchemaPrimitiveUtils covers date/time types > ---------------------------------------------- > > Key: CXF-4003 > URL: https://issues.apache.org/jira/browse/CXF-4003 > Project: CXF > Issue Type: Improvement > Affects Versions: 2.5, 2.5.1 > Reporter: Matthias Brandt > Assignee: Daniel Kulp > Priority: Minor > Labels: date, time, xmltype > Fix For: 2.5.2 > > Original Estimate: 1h > Remaining Estimate: 1h > > Can you please add some mapping for date/time types in > org.apache.cxf.common.util.XmlSchemaPrimitiveUtils? > I suggest this: > {code} > registerPrimitiveClasses("dateTime", java.sql.Date.class, > java.util.Date.class, java.sql.Timestamp.class); > registerPrimitiveClasses("time", java.sql.Time.class); > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira